Hi,

I am in a bind, and need to add some cuda to my OSG app quickly, as in by the 
end of hte day.  I had hoped to use osgComputer/Cuda, but I am having problems 
getting it to build on my machine.  I suspect it is due to my using CUDA 4.0.  
...so... I am trying to add it "manually" through the code as needed.  My 
first, seemingly insurmountable hurdle, is that I can seem to set the cuda 
device to use...  If I call cudaGLSetGLDevice  before I instantiate the viewer, 
I get an error stating the all cuda capable devices are busy or unavailable... 
I thought perhaps this was a graphics context issue, so I moved this call to 
after I instantiate the viewer.  If I call cudaGLSetGLDevice after I 
instantiate the viewer, I get an error stating that setting the device when a 
process is active is not allowed.

What is the proper way/place to call cudaGLSetGLDevice in OSG?

CD

Thank you!

Cheers,
Conan

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=43215#43215





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to