Is constant memory for entire device or per multiprocessor or per block ?


I’m a bit fuzzy on “constant memory”.

Everything else seems to be “per multi processor” or “per block”.

From the looks of it constant memory seems to be at the “device” level, so there is only one instance of it ?

Is this indeed correct ? Or is constant memory perhaps per multiprocessor or per block ? Just wondering…


It’s per device. From the source code perspective, it’s per module.