Occupancy calculator question Calculation of shared memory demand

Hi!

Why does the occupancy calculator compute the shared memory demand with

(ceil(SharedMemoryPerBlock/512)*512) ?

That’s wrong, isn’ it?

Thanks in advance!

No. Shared memory is allocated in blocks of 512 bytes (I think).