See βOther Uses for NVCC .β They note that the permanent distribution of banks depends on the profile .
In the PTX manual , they say that besides 64KB of read-only memory, they also had 10 banks for read-only memory. A driver can allocate and initialize persistent buffers in these regions and pass pointers to buffers as parameters of the kernel function.
I think this profile set for nvcc will take care of which constants fall into which memory. In any case, we need not worry if each cmem [n] read-only memory is less than 64 KB , since each bank is 64 KB in size and is common to all threads in the grid.
lxkarthi
source share