Function rust_cuda::device::utils::pretty_print_alloc_error
source ยท pub fn pretty_print_alloc_error(layout: Layout)
Available on crate feature
device
only.Expand description
Helper function to efficiently pretty-print an error message (inside an
allocation error handler) using the vprintf
system call.