I thought you said you had it working here:
[url]https://devtalk.nvidia.com/default/topic/1037324/cuda-programming-and-performance/how-to-share-cuda-memory-between-two-processes-/post/5270122/#5270122[/url]