mirror of
https://github.com/opencv/opencv.git
synced 2024-12-19 20:18:01 +08:00
15 lines
191 B
C++
15 lines
191 B
C++
![]() |
#if defined __APPLE__
|
||
|
#include <OpenCL/cl.h>
|
||
|
#else
|
||
|
#include <CL/cl.h>
|
||
|
#endif
|
||
|
|
||
|
int main(int argc, char** argv)
|
||
|
{
|
||
|
#ifdef CL_VERSION_1_2
|
||
|
#else
|
||
|
#error OpenCL 1.2 not found
|
||
|
#endif
|
||
|
return 0;
|
||
|
}
|