Attribute Macro cuda_std::gpu_only

source · []
#[gpu_only]
Expand description

Creates a cpu version of the function which panics and cfg-gates the function for only nvptx/nvptx64.