-Xptxas -v : analysing ...

Hi,

I run a kernel on Fermi,

solver<<<grid1,block1>>>( rinA, Xn, zinB, rinG, zinG, R, Wn, t_R, tempR, temprinG, EN, sortEN );

where, block1 is 8 and grid1 is 64.

with -arch=sm_20 -Xptxas -v, I got the following info:

ptxas info : Compiling entry function ‘Z11solverPfS_S_S_S_S_S_S_S_S_S_S’ for ‘sm_20’
ptxas info : Function properties for Z11solverPfS_S_S_S_S_S_S_S_S_S_S

8 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info : Used 40 registers, 128 bytes cmem[0], 128 bytes cmem[14], 56 bytes cmem[16]

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

  1. What is the meaning of:

8 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info : Used 40 registers, 128 bytes cmem[0], 128 bytes cmem[14], 56 bytes cmem[16]

  1. What is cmem[n]?

Thank you.