Hi,
I want to use ‘nvdec’, a gstreamer plugin with Nvidia Video SDK. But the memory type for this plugin is (memory:GLMemory). And I also want to process data with cuda.
So is it possible to copy data from GL memory to cuda device memory.
Hi,
I want to use ‘nvdec’, a gstreamer plugin with Nvidia Video SDK. But the memory type for this plugin is (memory:GLMemory). And I also want to process data with cuda.
So is it possible to copy data from GL memory to cuda device memory.
Best I understand, the answer is yes. Please refer to the OpenGL interoperability section in the CUDA documentation:
[url]https://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__OPENGL.html[/url]
There is an app called simpleGL in the collection of CUDA sample apps:
[url]https://docs.nvidia.com/cuda/cuda-samples/index.html#graphics[/url]