First of all how do you allocate constant memory and assign values to the locations?
Is this the only possibility to declare constant memory:
constant float a;
or can you use cudaMalloc? Can I write into the locations of a, inside the host code, whitout any restrictions?
Secondly, I know what bank conflicts are when talking about shared memory, but what are bank conflicts when talking about constant cache?
And third, I also found a research article stating the following for constant memory: 8KB cache per SM, with data originally residing in global memory. I thought data can be moved into constant memory only from the host…
Thank you very much!