Function rust_cuda::device::utils::print

source ·
pub fn print(args: Arguments<'_>)
Available on crate feature device only.
Expand description

The print() function takes an Arguments struct and formats and prints it to the CUDA kernel’s standard output using the vprintf system call.

The Arguments instance can be created with the format_args! macro.