As reported and commited at https://bugs.gentoo.org/658120, now we lost OpenCL functionality using Nvidia drivers, making opencl.h to not be available. OpenCL works actually for Nvidia Drivers, so can you also add video_cards_nvidia? I haven't tried with nouveau, but works fine with x11-drivers/nvidia-drivers. Many thanks. Extra info: - Compiling memtestCL project without mesa opencl: memtestCL_core.h:45:13: fatal error: CL/opencl.h: No such file or directory #include <CL/opencl.h> ^~~~~~~~~~~~~ - Enabling opencl works fine, and runs well. Available OpenCL platforms: 0: NVIDIA CUDA (SELECTED) Available OpenCL devices on selected platform: 0: GeForce GTX 1080 with Max-Q Design (SELECTED
I think the real problem is that because you cannot install mesa[opencl], you don't get opencl headers?
(In reply to Matt Turner from comment #1) > I think the real problem is that because you cannot install mesa[opencl], > you don't get opencl headers? Yes, exactly, without opencl USE flag it doesn't appears, and I can't use it because is only enabled for radeonsi/r600. I had to locally modify the ebuild to support nvidia, and works fine. Also, without Mesa's OpenCL USE Flag, I miss a lot of applications with OpenCL, which already works perfectly with Nvidia binary driver. My petition is to get back OpenCL USE flag support for Nvidia driver also at Mesa ebuild.
> Also, without Mesa's OpenCL USE Flag, I miss a lot of applications with OpenCL, which already works perfectly with Nvidia binary driver. Re-emerge eselect-opencl-1.1.0-r4 and it will symlink the right headers under "/usr/include/CL". You might have to manually remove some old, broken symlink in there.
(In reply to Ștefan Talpalaru from comment #3) > > Also, without Mesa's OpenCL USE Flag, I miss a lot of applications with OpenCL, which already works perfectly with Nvidia binary driver. > > Re-emerge eselect-opencl-1.1.0-r4 and it will symlink the right headers > under "/usr/include/CL". You might have to manually remove some old, broken > symlink in there. Many thanks. It works perfectly. I can confirm this as solved. Still a broken symlink at ../../lib64/OpenCL/vendors/mesa/include/CL/cl.hpp under /usr/include/CL/ , but seems to work.