pub fn set_kernel_context(ctx: KernelContext)Expand description
Set the kernel context for the current thread.
Subsequent calls to thread::index(), block::index(), block::dim(),
and sync_threads() will read from this context.
pub fn set_kernel_context(ctx: KernelContext)Set the kernel context for the current thread.
Subsequent calls to thread::index(), block::index(), block::dim(),
and sync_threads() will read from this context.