Code inspection: A memory space specifier is not allowed on a function parameter
This inspection reports a CUDA memory space specifier on a function parameter. Parameters are stored as defined by the calling convention, so they cannot have a memory space. Remove the memory space specifier from the parameter.
Example
__global__ void kernel(__constant__ int value);
__global__ void kernel(int value);
If you need a constant kernel argument, use __grid_constant__ on a const non-reference parameter.
27 October 2026