Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: cuda with opengl

  1. #1
    Newbie Newbie
    Join Date
    May 2017
    Posts
    1

    cuda with opengl

    I had done an project in opengl and trying to change to cuda ... so can any one help to know how to combine cuda and opengl program and can any one give the ubuntu command to run cude with opengl.....

  2. #2
    Senior Member OpenGL Guru Dark Photon's Avatar
    Join Date
    Oct 2004
    Location
    Druidia
    Posts
    4,169
    Your best source of information is going to be NVidia CUDA documentation, both online and in book form. Yes, you can use CUDA and OpenGL in the same program, but if this is your first go at working in a compute language, you should do some prep reading first.

    Another option to consider is using OpenGL Compute shaders. That may give you what you want and avoid locking you to a specific GPU vendor.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •