I have a kernel that does not have any shared variables in the kernel. However, when I compile the following information is displayed for that kernel:
ptxas info : Used 12 registers, 2056+16 bytes smem, 28 bytes cmem[1]
The kernel uses 2056+16 bytes of shared memory.
I compile with the following flags: -arch sm_11 -use_fast_math --ptxas-options=-v -lcutil_i386 -lcufft