I have to questions about registers:
I wrote a kernel which needs 11 registers per thread. But if I want to have a occupancy of 100%, I’m only allowed to use 10 registers. So, is there any way to reduce the register usage? I put all variables in shared memory, but this doesn’t help.
I control the usage of regsters by the nvcc flag â€“maxrregcount=10. Now I use only 10 registers, but there ins no increasing of shared memory or global memory. Which memory use the graphics card, now?
Thanks in advance!