Using externally allocated device memory

Nov 29, 2013 at 2:47 PM
As far as I could tell, the only way to get a device array to work with Cudafy is to use one of its Allocate methods.

What if I have some device memory that has been allocated by an external DLL, and I want to pass this as an argument to a Cudafy function? There doesn't seem to be a way to do that at the moment.
Nov 30, 2013 at 6:41 PM
Edited Nov 30, 2013 at 6:41 PM
Edit: Nevermind
Dec 5, 2013 at 7:32 AM
What are you using to allocate the memory? Are we talking DirectX or OpenGL?
Dec 8, 2013 at 8:03 PM
It's allocated using cudaMalloc.
Dec 9, 2013 at 8:44 AM
Same context? What is your use case? Can you show some code of how possible interface would look?