This project is read-only.

OpenTK interop

May 7, 2013 at 3:32 PM
Has anyone been able to get Cudafy + OpenTK/OpenGL interop working?

I have a very long-running process that iteratively updates a largish array through repeated calls to a Cudafy kernel. Periodically, I copy the array back to the host and update a GL texture with its contents, which are used as a height map in a GLSL shader.

I'd rather avoid the time-consuming process of copying the array back to the host, then sending the same data back to the GPU.

Suggestions?