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:
@@ -71,7 +71,8 @@ void initCL( void* glCtx, void* glDC )
|
||||
|
||||
|
||||
oclCHECKERROR(ciErrNum, CL_SUCCESS);
|
||||
g_cdDevice = btOclGetMaxFlopsDev(g_cxMainContext);
|
||||
g_cdDevice = btOclGetDev(g_cxMainContext,0);
|
||||
|
||||
|
||||
btOclPrintDevInfo(g_cdDevice);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user