Module rust_cuda::device::utils

source ·
Available on crate feature device only.

Macros§

  • Prints to the CUDA kernel’s standard output using the vprintf system call.
  • Prints to the CUDA kernel’s standard output using the vprintf system call.

Functions§

  • Abort the CUDA kernel using the trap system call.
  • exit
    Exit the CUDA kernel using the exit instruction.
  • Helper function to efficiently pretty-print an error message (inside an allocation error handler) using the vprintf system call.
  • Helper function to efficiently pretty-print a core::panic::PanicInfo using the vprintf system call.
  • The print() function takes an Arguments struct and formats and prints it to the CUDA kernel’s standard output using the vprintf system call.