gpu_only

Attribute Macro gpu_only 

Source
#[gpu_only]
Expand description

Marks a function as runnable only on the GPU, and will panic on CPU platforms.