OpenGL Draw call on SLI / CrossFire graphics cards

I am using OpenGL and OpenCL in my project. Thus, they interact with each other. I created multiple openGL buffers and fill them with OpenCL, but when I do it with OpenCL, each GPU needs to have one context, and two GPUs cannot be in the same context, even if they are on the same platform. Otherwise, I cannot create the GL context and I will always have a problem creating the context.

Now I have one context for each GPU and some buffers exist on one GPU while others exist on another. I want every buffer on the same GPU to exist because otherwise the data will be carried over to a different GPU and it will slow down performance. Does anyone know how to render each buffer on the same GPU as it?

We usually just create a gl context and then split the tasks into gpus. we do not have any mechanism for dividing the task into different gpus.

+3
c ++ multithreading opengl


source to share


No one has answered this question yet

Check out similar questions:

54
Abismal performance of OpenCL ImageSampling and OpenGL TextureSampling
nine
OpenCL / OpenGL Interop with multiple GPUs
five
OpenGL rendering for Framebuffer, switching to OpenCV Umat for faster OpenCL processing
2
Opengl and opencl can only use 1 core in one shared context
2
Sharing OpenCL and OpenGL with Apple Software
1
opencl / opengl interop, using clCreateFromGLTexture, cannot draw texture (texture is black)
1
openGL vs openCL in GLUT application?
0
get an opencl platform that matches opengl one
0
Drawing in OpenGL using the number of primitives on the GPU
-2
GPU for OpenGL



All Articles
Loading...
X
Show
Funny
Dev
Pics