Attribute Macro spirv_std_macros::gpu_only

source ·
#[gpu_only]
Expand description

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