Good afternoon! I'm trying to run code in C++ that has the following line:
#include <CL/cl.hpp>
But launching the program gives this error:
fatal error: CL/cl.hpp: No such file or directory
What have I tried to do?
- Completely reinstalling mingw64
- Uninstalled Visual Studio 2019 and installed Visual Studio 2022
- Installed NVIDIA Cuda according to the instructions (I also updated the NVIDIA drivers): https://docs.nvidia.com/cuda/cuda-installation-guide-microsoft-windows/index.html
Cuda is fully operational. I checked with the code examples that come with CUDA.
P.S. As far as I know, OpenCl is part of CUDA.
Thanks!