Using OpenCL in a nsight developing environment
1. Installation: ubuntu14.04安装intel openCL, Ubuntu16.04 安装OpenCV&OpenCL, Generic ubuntu packages for OpenCL, Install Proprietary Nvidia GPU Drivers On Ubuntu 16.04 / 17.10 / 18.04
Check the installation result by keying in command: nvidia-settings
2. Copy libOpenCL.so present in your cuda toolkit (lib64) to the above location.
Check the installation result by keying in command: nvidia-settings
*Do not need to install the OpenCL library for CPU.
*GPU driver choose the newest 410.66.
*Type "sudo apt-get remove beignet*" while reporting "X server found. dri2 connection failed!"
2. Copy libOpenCL.so present in your cuda toolkit (lib64) to the above location.
ex: sudo cp /usr/local/cuda-9.0/lib64/libOpenCL.so /usr/lib
3. Setting the path of head file. (/usr/include/CL/...)
留言
張貼留言