Debian Codegraph @

Tests/FindOpenCL/Test/main.c

raw symbols SCIP
1 #ifdef __APPLE__
2 # include <OpenCL/opencl.h>
3 #else
4 # include <CL/cl.h>
5 #endif
6
7 int main(void)
8 {
9 cl_uint platformIdCount;
10
11 // We can't assert on the result because this may return an error if no ICD
12 // is
13 // found
14 clGetPlatformIDs(0, NULL, &platformIdCount);
15
16 return 0;
17 }