-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI test fail when using oclgrind or pocl #1
Comments
I was not using oclgrind properly. changed the command ✔️ The good part is, it detect a platform. edit: |
Following this comment: Using oclgrind or pocl for enabling opencl on CPU compile and run for pyclesperanto but return wrong values: # run add_image_and_scalar kernel
input: [1. 1. 1. 1. 1. 1. 1. 1. 1.] float32
valid: [101. 101. 101. 101. 101. 101. 101. 101. 101.] float32
result: [4.7481553e+10 1.0000000e+02 4.7495971e+10 1.0000000e+02 4.7484436e+10
1.0000000e+02 8.6149689e+25 1.0000000e+02 1.0000000e+02] float32 However, it works fine with CLIc alone. |
The invalid results is solved, see this. The remaining issue is the linking with libOpenCL.so not happening with the error Solving this should unlock a full CI build and test action |
Issue with the build and deploy CI
Github action do not provide OpenCL compatible devices making tests impossible to run.
An alternative solution is to use oclgrind which simulate an OpenCL device but that still fail.
The error when running test is
OpenCL-error -1001 "CL_PLATFORM_NOT_FOUND_KHR"
which means thatcl_khr_icd-extention
have trouble to load the proper vendor driver.Information:
apt install apt install opencl-headers ocl-icd-dev ocl-icd-opencl-dev
but maybe not necessary?The text was updated successfully, but these errors were encountered: