remove btOclGetMaxFlopsDev, it was buggy. Just use device 0 in the demos. The OpenCL initialization needs more work/some GUI.

This commit is contained in:
erwin.coumans
2011-11-11 20:11:03 +00:00
parent 66c349caa6
commit a374f8c0d4
4 changed files with 5 additions and 3 deletions

View File

@@ -72,7 +72,7 @@ bool initCL( void* glCtx, void* glDC )
//#endif
oclCHECKERROR(ciErrNum, CL_SUCCESS);
g_cdDevice = btOclGetMaxFlopsDev(g_cxMainContext);
g_cdDevice = btOclGetDev(g_cxMainContext,0);
if ( bDebug ) {
btOclPrintDevInfo(g_cdDevice);