Closed liyuming1978 closed 4 years ago
@liyuming1978 Is your problem still relevant? We have some documentation how to install it here:
sudo yum install libpciaccess libpciaccess-devel opencl-headers
#Enable epel repository
sudo yum install gtest gtest-devel ocl-icd ocl-icd-devel
#Compile OpenCL from these cources: https://github.com/intel/compute-runtime/releases/tag/2018ww18-010782
#By using these instructions: https://github.com/intel/compute-runtime/blob/master/documentation/BUILD_Centos.md
sudo rpm -ihv intel-opencl-1.0-0.x86_64-igdrcl.rpm
fix it with NO_DEFAULT_PATH
Issue will be tested. Thanks for suggestion
No interest from customer for more than a year - closing for now. In case of facing any new issues-feeel free to open new issue against most fresh release
I change the cmake to
find_path( OPENCL_INCLUDE CL/opencl.h PATHS /opt/intel/opencl/include /usr/include NO_DEFAULT_PATH) find_library( OPENCL_LIBRARY libOpenCL.so PATHS /opt/intel/opencl/ /usr/lib NO_DEFAULT_PATH)
it's ok now. since opencl.h and libopencl.so also exist in /usr folder