You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#ifdef __APPLE__
|
|
# include <OpenCL/opencl.h>
|
|
#else
|
|
# include <CL/cl.h>
|
|
#endif
|
|
|
|
int main(void)
|
|
{
|
|
cl_uint platformIdCount;
|
|
|
|
// We can't assert on the result because this may return an error if no ICD
|
|
// is
|
|
// found
|
|
clGetPlatformIDs(0, NULL, &platformIdCount);
|
|
|
|
return 0;
|
|
}
|