Hello,
Alright, so I'm learning OpenCL from this book:
It seems that I need an OpenCL SDK, couldn't find any for FreeBSD for AMD GPU.
Thanks for any advice.
Edit:
Did some heavy research, hope this might help anyone doing OpenCL work:
Here are some outputs:
https://pastebin.com/sWH0grxc
I installed opencl from ports (I assume this is the header files):
https://pastebin.com/2K5AFjsv
I installed ocl-icd from ports (I assume this is for the latest OpenCL binary driver version):
https://pastebin.com/PekwJb9M
I installed clover from ports (This is the old OpenCL 1.1 version binaries provided by MESA):
https://pastebin.com/DBKexapQ
I'm not sure if I should use ocl-icd OpenCL binaries, since it did not mention anything about AMD GPU.
Oddly enough, I did some research and it seems that AMD's GPU GitHub page does provide the OpenCL SDK only for the header files and binaries:
https://github.com/GPUOpen-LibrariesAndSDKs/OCL-SDK/releases
Which I downloaded: lightOCLSDK.zip and extracted it.
These are all the files and subdirectories which contains in the extracted lightOCLSDK.zip: https://pastebin.com/qQ31UY6n
I do not think this will work on FreeBSD or Linux since the OpenCL.lib contains OpenCL.dll, which is for windows OS.
Here I found the AMD SDK 3.0 archived Linux installer from GitHub discussion: https://github.com/fireice-uk/xmr-stak/issues/1511
There, I was able to download the 187 MB compressed file provided from the user "KOLANICH": AMD-APP-SDKInstaller-v3.0.130.136-GA-linux64.tar.bz2
After extracting I only get one file: AMD-APP-SDK-v3.0.130.136-GA-linux64.sh
However I can not install it and gives an error (as expected since I am using Unix): https://pastebin.com/NS7xdhA8
I wonder if I can somehow extract the OpenCL library from it and able to manually compile/port it to FreeBSD.
Alright, so I'm learning OpenCL from this book:
OpenCL in Action: How to Accelerate Graphics and Computations: Scarpino, Matthew: 8601400825129: Amazon.com: Books
OpenCL in Action: How to Accelerate Graphics and Computations [Scarpino, Matthew] on Amazon.com. *FREE* shipping on qualifying offers. OpenCL in Action: How to Accelerate Graphics and Computations
www.amazon.com
It seems that I need an OpenCL SDK, couldn't find any for FreeBSD for AMD GPU.
Thanks for any advice.
Edit:
Did some heavy research, hope this might help anyone doing OpenCL work:
Here are some outputs:
$ clinfo
https://pastebin.com/sWH0grxc
I installed opencl from ports (I assume this is the header files):
$ pkg info -lx opencl
https://pastebin.com/2K5AFjsv
I installed ocl-icd from ports (I assume this is for the latest OpenCL binary driver version):
$ pkg info -lx ocl-icd
https://pastebin.com/PekwJb9M
I installed clover from ports (This is the old OpenCL 1.1 version binaries provided by MESA):
$ pkg info -lx clover
https://pastebin.com/DBKexapQ
I'm not sure if I should use ocl-icd OpenCL binaries, since it did not mention anything about AMD GPU.
Oddly enough, I did some research and it seems that AMD's GPU GitHub page does provide the OpenCL SDK only for the header files and binaries:
https://github.com/GPUOpen-LibrariesAndSDKs/OCL-SDK/releases
Which I downloaded: lightOCLSDK.zip and extracted it.
These are all the files and subdirectories which contains in the extracted lightOCLSDK.zip: https://pastebin.com/qQ31UY6n
I do not think this will work on FreeBSD or Linux since the OpenCL.lib contains OpenCL.dll, which is for windows OS.
Here I found the AMD SDK 3.0 archived Linux installer from GitHub discussion: https://github.com/fireice-uk/xmr-stak/issues/1511
There, I was able to download the 187 MB compressed file provided from the user "KOLANICH": AMD-APP-SDKInstaller-v3.0.130.136-GA-linux64.tar.bz2
After extracting I only get one file: AMD-APP-SDK-v3.0.130.136-GA-linux64.sh
However I can not install it and gives an error (as expected since I am using Unix): https://pastebin.com/NS7xdhA8
I wonder if I can somehow extract the OpenCL library from it and able to manually compile/port it to FreeBSD.