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.
#[gpu_only]
Marks a function as runnable only on the GPU, and will panic on CPU platforms.