But i got a lot of warning:
In file included from /usr/include/CL/cl.h:32,
from /usr/include/CL/opencl.h:38,
from ./../../common/support.h:13,
from ./../../common/OpenCLDeviceInfo.h:7,
from ./../../common/main.cpp:13:
/usr/include/CL/cl_version.h:34:104: note: #pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)
34 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)")
| ^
./../../common/main.cpp: In function ‘int main(int, char*)’:
./../../common/main.cpp:208:64: warning: ‘_cl_command_queue clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int)’ is deprecated [-Wdeprecated-declarations]
208 | &clErr );
| ^
In file included from /usr/include/CL/opencl.h:38,
from ./../../common/support.h:13,
from ./../../common/OpenCLDeviceInfo.h:7,
from ./../../common/main.cpp:13:
/usr/include/CL/cl.h:1781:1: note: declared here
1781 | clCreateCommandQueue(cl_context context,
| ^~~~~~~~
./../../common/main.cpp:208:64: warning: ‘_cl_command_queue clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]
208 | &clErr );
| ^
then i changed dir to src/opencl and tried 'make', but totally nothing can be done
after run confugure, i tried: make/make install
But i got a lot of warning: In file included from /usr/include/CL/cl.h:32, from /usr/include/CL/opencl.h:38, from ./../../common/support.h:13, from ./../../common/OpenCLDeviceInfo.h:7, from ./../../common/main.cpp:13: /usr/include/CL/cl_version.h:34:104: note: #pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2) 34 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)") | ^ ./../../common/main.cpp: In function ‘int main(int, char*)’: ./../../common/main.cpp:208:64: warning: ‘_cl_command_queue clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int)’ is deprecated [-Wdeprecated-declarations] 208 | &clErr ); | ^ In file included from /usr/include/CL/opencl.h:38, from ./../../common/support.h:13, from ./../../common/OpenCLDeviceInfo.h:7, from ./../../common/main.cpp:13: /usr/include/CL/cl.h:1781:1: note: declared here 1781 | clCreateCommandQueue(cl_context context, | ^
~~~~~~~ ./../../common/main.cpp:208:64: warning: ‘_cl_command_queue clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations] 208 | &clErr ); | ^then i changed dir to src/opencl and tried 'make', but totally nothing can be done
Can anyone tell me what to do?