L2 cache allocation

Hello everyone,

My goal is to fill the GPU’s L2 cache with an array.

Is there a way to create a variable in a specific hardware memory zone of my GPU with Cuda ?

Does anyone has any suggestions or documents where I can find some information ?