Luke Pfister
2015-10-23 01:11:45 UTC
I'm trying to allocate a 3D cudaArray in PyCUDA, then pass the pointer to
this array through Cython. T
This is easy to do with 'regular' memory on the device via the GPUarray
class; I can just cast GPUarray.gpudata to long and then pass through
Cython.
Is there a way to do something similar with a pycuda.driver.Array? I don't
see a way to get to the device pointer.
Thanks,
Luke
this array through Cython. T
This is easy to do with 'regular' memory on the device via the GPUarray
class; I can just cast GPUarray.gpudata to long and then pass through
Cython.
Is there a way to do something similar with a pycuda.driver.Array? I don't
see a way to get to the device pointer.
Thanks,
Luke