only use GPU devices for Bitonic Sort (require workgroup sizes > 1, and most CPU devices only provide 1)
This commit is contained in:
1 parent
d517f2b064
commit
86a3cb5d2e
1 file changed
+1
-1
@@ -49,7 +49,7 @@ int main(int argc, char* argv[])
|
||||
b3Clock clock;
|
||||
|
||||
|
||||
cl_device_type deviceType = CL_DEVICE_TYPE_ALL;
|
||||
cl_device_type deviceType = CL_DEVICE_TYPE_GPU;//ALL;
|
||||
const char* vendorSDK = b3OpenCLUtils::getSdkVendorName();
|
||||
|
||||
printf("This program was compiled using the %s OpenCL SDK\n",vendorSDK);
|
||||
|
||||
Reference in new issue
Block a user