Tests/FindOpenCL: Run clang-format to fix style

This commit is contained in:
Brad King 2016-06-07 08:37:04 -04:00
parent eeac8430bf
commit 3b2844328c
1 changed files with 5 additions and 4 deletions

View File

@ -1,16 +1,17 @@
#ifdef __APPLE__ #ifdef __APPLE__
#include <OpenCL/opencl.h> #include <OpenCL/opencl.h>
#else #else
#include <CL/cl.h> #include <CL/cl.h>
#endif #endif
int main() int main()
{ {
cl_uint platformIdCount; cl_uint platformIdCount;
// We can't assert on the result because this may return an error if no ICD is // We can't assert on the result because this may return an error if no ICD
// is
// found // found
clGetPlatformIDs (0, NULL, &platformIdCount); clGetPlatformIDs(0, NULL, &platformIdCount);
return 0; return 0;
} }