mirror of
https://github.com/bulletphysics/bullet3
synced 2025-01-18 21:10:05 +00:00
only use GPU devices for Bitonic Sort (require workgroup sizes > 1, and most CPU devices only provide 1)
This commit is contained in:
parent
d517f2b064
commit
86a3cb5d2e
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user