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.
source to share
No one has answered this question yet
Check out similar questions: