Thanks for the answers. Actually I also know that there are new interoperability features in CUDA 3, but I didn't have the time to check them out yet, though if I find the time for it, I will let you know about the results :)

Regards
-Thorsten

Am 07.01.2011 22:23, schrieb Jason Daly:
On 01/07/2011 03:34 PM, Art Tevs wrote:
Hi Thorsten,

the problem which you experience is because of lacking direct memory
mapping between OpenGL and CUDA memory. Even if CUDA (at least it was
in version 2 so) supports GPU<->GPU memory mapping, whenever you
access to OpenGL textures there is a full memory copy performed.

I am not aware if this was solved in CUDA3, maybe you should check it
out. CUDA2 definitively doesn't perform direct mapping between GL
textures and CUDA textures/arrays.

regards,
art

I know that OpenCL 1.1 added a bunch of OpenGL interoperability features
(clCreateFromGLBuffer(), clCreateFromGLTexture2D(), etc.), and I thought
I heard that the newer versions of CUDA supported similar features.
OpenGL 4.1 added some CL interop features, too.

--"J"

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

Reply via email to