OpenCL.jl icon indicating copy to clipboard operation
OpenCL.jl copied to clipboard

PoCL: Float16 support

Open maleadt opened this issue 6 months ago • 4 comments

  • on FreeBSD, it doesn't compile (so is forcibly disbabled): https://github.com/pocl/pocl/issues/1776
  • on x86, it requires libsvml or libmvec (post https://github.com/pocl/pocl/commit/af09bac90e505d4b40bc76586cacf69cdab7f891), both of which we don't have packaged
  • on arm, it requires SLEEF which seems to work

maleadt avatar Jun 03 '25 16:06 maleadt

Can we use SLEEF everywhere?

vchuravy avatar Jun 10 '25 09:06 vchuravy

Apparently there's issues: https://github.com/pocl/pocl/discussions/1943 But I haven't investigated more closely myself (except for failing to use libmvec and libsvml).

maleadt avatar Jun 10 '25 09:06 maleadt

https://github.com/JuliaPackaging/Yggdrasil/pull/12219 by @simeonschaub temporarily reverts the offending change, so maybe that is a quick fix here.

maleadt avatar Oct 03 '25 16:10 maleadt

Hmm, looks like that alone wasn't enough, most of the intrinsics are still missing: https://github.com/JuliaGPU/OpenCL.jl/actions/runs/18528924618/job/52806365607 These work on the local pocl builds though.

simeonschaub avatar Oct 15 '25 13:10 simeonschaub