I’m trying to figure out what exacly shared memory usage means.
1> ptxas info : Compiling entry function ‘_Z16scan_test_kernelIiL10scan_types0ELi256ELi0EEvi’
1> ptxas info : Used 8 registers, 3092+1044 bytes smem, 12 bytes cmem
I know exacly what usage of registers and contant memory is.
However I’m a little bit confused by the usage of shared memory.
What is means 3092+1044 bytes of shared memory?
Do I use 3092 bytes or the sum of both?
I tried to increase amount of shared memory used by 4 bytes. Both numbers were increased to 3096+1048.
I tried to decrease the amount of shread memory used by 4 bytes. Both numbers were decreased to 3088+1040
I’m a little bit confused. Can someone clarify it?