I load a simple variable into the GPU memory using Mathematica:
mem = CUDAMemoryLoad[{1, 2, 3}]
And get the following result:
CUDAMemory["<135826556>", "Integer32"]
Now, using this data in the GPU's memory, I want to access it from a separate .cu program (outside of Mathematica) using Thrust.
Is there any way to do this? If so, can someone explain how?
source share