In CUDA, when I delcare an array in constant memory like below
__device__ __constant__ float A[n];
does the size n
need to be a constant?
I guess is yes, because the compiler needs to know if the size n
exceeds the constant memory size or not. Is that right?