dimensionX
04-28-2010, 02:35 PM
System config:-
------------------
Windows XP 32-bit
Single Quadro FX 4600
Driver version 197.54
I'm trying to understand the WGL_NV_gpu_affinity extension. I know that I have only 1 GPU at the moment and I actually dont need to use this extension. My application will have to scale to multiple GPUs eventually.
1) hWnd = CreateWindow()
2) hDC = GetDC(hWnd)
3) hRC = wglCreateContext(hDC)
4) affDC = wglCreateAffinityDCNV(hGPU)
5) affRC = wglCreateContext(affDC)
Things that work:-
---------------------
Case 1:
wglMakeCurrent(hDC, hRC);
- The usual and it works fine.
Case 2:
wglMakeCurrent(affDC, affRC);
- This works fine too.
Case 3:
wglMakeCurrent(hDC, affRC); => regularDC + affinityRC
- It does not work. wglMakeCurrent() call FAILS.
According to the spec of WGL_NV_gpu_affinity it is legal to do this. Did anyone have this problem ?
------------------
Windows XP 32-bit
Single Quadro FX 4600
Driver version 197.54
I'm trying to understand the WGL_NV_gpu_affinity extension. I know that I have only 1 GPU at the moment and I actually dont need to use this extension. My application will have to scale to multiple GPUs eventually.
1) hWnd = CreateWindow()
2) hDC = GetDC(hWnd)
3) hRC = wglCreateContext(hDC)
4) affDC = wglCreateAffinityDCNV(hGPU)
5) affRC = wglCreateContext(affDC)
Things that work:-
---------------------
Case 1:
wglMakeCurrent(hDC, hRC);
- The usual and it works fine.
Case 2:
wglMakeCurrent(affDC, affRC);
- This works fine too.
Case 3:
wglMakeCurrent(hDC, affRC); => regularDC + affinityRC
- It does not work. wglMakeCurrent() call FAILS.
According to the spec of WGL_NV_gpu_affinity it is legal to do this. Did anyone have this problem ?