Hi Stan developers,
Thanks for your wonderful work, and I feel great to start using Stan. I was trying to follow this demo using opencl Running Stan on the GPU with OpenCL • cmdstanr on a Windows machine. I have installed CUDA toolkit and driver, I have also installed Intel CPU runtime for opencl following this 14 Parallelization | CmdStan User’s Guide, OpenCL™ Runtimes for Intel® Processors. However, I got the following error when enabled
stan_opencl = TRUE in cmdstan_model() function.
Compiling Stan program... C:/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lOpenCL collect2.exe: error: ld returned 1 exit status
I am sure that rtools are installed and paths are set, because I could compile the model without
stan_opencl = TRUE, could you please help to find out the reason? should I reinstall rtools since I did it before installing CUDA toolkit. Also, how can I find the platform and device numbers as one does
clinfo -l in Linux?