How to install PoCL(Portable Computing Language) on a Windows system?

  amd, installation, opencl, pocl, windows

Like the title implied, I’m currently trying to install/use PoCL in a Visual Studio project, but I’m completely lost as to how to do that. I wasn’t able to find any guides or tutorials on the topic, since the documentation on their website apparently only covered Linux and not Windows. I would be very grateful if anyone has a guide/tutorial or directions on how to solve this issue!

Since it might be helpful: I’m using Windows 10, and a Ryzen 5 4500U. GPU-Z confirms that the Vega 6(the GPU portion of the APU) supports OpenCL.

I tried to follow the directions of the, which was part of the Zip I downloaded from Github and sadly the only form of helpful documentation I was able to find up to this point. The following command was what I tried in the Git Bash:

$ curl | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    14  100    14    0     0     60      0 --:--:-- --:--:-- --:--:--    61
sh: line 1: 404:: command not found

I was not able to figure out why the sh command could not be found yet, nor if I am on the right path with this attempt. What I should add, is that I didn’t install Visual Studio 2013 yet, since I wanted to try if Visual Studio 2019 works first. I apologize if it might be the root of the problem!

Source: Windows Questions