only use GPU devices for Bitonic Sort (require workgroup sizes > 1, and most CPU devices only provide 1)

This commit is contained in:
Erwin Coumans 2013-04-30 12:18:46 -07:00
parent d517f2b064
commit 86a3cb5d2e

View File

@ -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);
@ -189,4 +189,4 @@ int main(int argc, char* argv[])
printf("press <Enter>\n");
getchar();
return 0;
}
}