I’m getting this error when trying to call a global function from inside an OpenGL loop.
I removed all code from that function for testing and the error is still there.
I’m guessing this has something to do with threads, I create my cuda device in the main thread, then I start the OpenGL loop and I try to call my cuda function from inside the loop.
Has anyone tried to do that, combine cuda code with OpenGL for display?
I’d like to find out how to use the GPU for computation while running OpenGL, if at all possible.