Constant cudaErrorAddressOfConstant

Source
pub const cudaErrorAddressOfConstant: cudaError = 22;
Expand description

This indicated that the user has taken the address of a constant variable, which was forbidden up until the CUDA 3.1 release. \deprecated This error return is deprecated as of CUDA 3.1. Variables in constant memory may now have their address taken by the runtime via ::cudaGetSymbolAddress().