I have a kernel where I do not define any shared variables. When I inspect the PTX code, I cannot see the .share directives either. But the compiling information suggests the kernel using 32+16 smem. I am confused that what those share memory for?
Function arguments are stored in shared memory. So are the BlockDim and GridDim variables.