Open Source Computer Vision Library https://opencv.org/
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.
 
 
 
 
 
 

24 lines
363 B

#if defined __APPLE__
#include <OpenCL/cl.h>
#else
#include <CL/cl.h>
#endif
#ifndef _MSC_VER
#ifdef CL_VERSION_1_2
#error OpenCL is valid
#else
#error OpenCL check failed
#endif
#else
#ifdef CL_VERSION_1_2
#pragma message ("OpenCL is valid")
#else
#pragma message ("OpenCL check failed")
#endif
#endif
int main(int /*argc*/, char** /*argv*/)
{
return 0;
}