Lost shared memory size Problem with maximum size

I was searching everywhere (?) and haven’t found anywhere an answer. I lose 48 bytes from maximum of shared memory size (16384) if I add some arguments to kernel function. Is it normal?

Kernel parameters are passed via shared memory so its normal. Furthermore using the entire 16K is kinda bad practice, you can find

a lot of discussions about this in this forum :)



Is it possible to use ALL the shared memory with Fermi?

I believe so, since fermi has compute capability 2.0. Section 5.2.3 of the programming guide: