Discussion:
[PyCUDA] Pixel Buffer Object Mapping Pointer
Chris
2016-10-15 05:51:23 UTC
Permalink
I know that PyCUDA runs on the driver API, so it might be a little different
but I am looking for the equivalent of something like this
cudaGraphicsResourceGetMappedPointer(). I am manipulating an array in CUDA
and need to point the PBO to it so that it can be used in Interop between
OpenGL and PyCUDA. It looked like pycuda.gl.RegisteredMapping might be what
I need but I am unsure.



--
View this message in context: http://pycuda.2962900.n2.nabble.com/Pixel-Buffer-Object-Mapping-Pointer-tp7575739.html
Sent from the PyCuda mailing list archive at Nabble.com.
Andreas Kloeckner
2016-10-15 23:39:52 UTC
Permalink
Post by Chris
I know that PyCUDA runs on the driver API, so it might be a little different
but I am looking for the equivalent of something like this
cudaGraphicsResourceGetMappedPointer(). I am manipulating an array in CUDA
and need to point the PBO to it so that it can be used in Interop between
OpenGL and PyCUDA. It looked like pycuda.gl.RegisteredMapping might be what
I need but I am unsure.
This may help:
https://wiki.tiker.net/PyCuda/Examples/GlInterop

Andreas

Loading...