cuda-samples
cuda-samples copied to clipboard
how to display the image stored on the gpu
I wrote a rendering function and got the image(uchar *) stored on the gpu.
How to display the image directly from this data instead of copy to the cpu and then display it with OpenCV?
Is there any link for reference, thank you~
https://github.com/NVIDIA/cuda-samples/blob/b882fa00ee7151134cd40b6ef01a5a9af8fe8fa9/Samples/simpleGL/simpleGL.cu#L56
How to solve multiple definition of __HelperGL::gl* caused by include "helper_gl.h" multiple times?