spirv_std_macros

Attribute Macro gpu_only

Source
#[gpu_only]
Expand description

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