For Apple devices, OpenCL supported is < 2.1.. Thus we can't call the function clCreateProgramWithIL. To avoid errors building the OpenCL backend, we bypass this function since this will be never call, unless Apple supports SPIR-V.
Problem description
This patch fixes build errors in TornadoVM with the OpenCL backend.
Description
For Apple devices, OpenCL supported is < 2.1.. Thus we can't call the function
clCreateProgramWithIL
. To avoid errors building the OpenCL backend, we bypass this function since this will be never call, unless Apple supports SPIR-V.Problem description
This patch fixes build errors in TornadoVM with the OpenCL backend.
Backend/s tested
Mark the backends affected by this PR.
OS tested
Mark the OS where this PR is tested.
Did you check on FPGAs?
If it is applicable, check your changes on FPGAs.
How to test the new patch?