So, I am following this setup process…
So far, it is a useful tutorial but there are a few caveats for someone not yet familiar with C++ and C::B that I thought are worth mentioning.
First: if you are using an NVIDIA GPU you need to DL/install the CUDA toolkit.
Then, when setting the compiler string (under Search Directories in C::B) for Windows it should look something like “C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.0\include”. This relates directly to the include statement at the beginning of your code, “#include <CL/cl.h>”. Similarly, your linker string should be something like “C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.0\lib\x64”.
Finally, I still received 4 errors after compiling the tutorial’s example code. I will post a resolution to those errors soon.