DLL with shared data segment

Hi, is there a way to create DLL with shared data segment residing in GPU global memory?. I mean CUDA analog to c++ #pragma data_seg.