halide / Halide

a language for fast, portable data-parallel computation
https://halide-lang.org
Other
5.77k stars 1.07k forks source link

Metal shader generation should expose needed float16 intrinsics #8241

Closed shoaibkamil closed 2 weeks ago

shoaibkamil commented 1 month ago

If a user calls fp16 intrinsics in a Metal pipeline, it will result in a compile error. We should expose these intrinsics and add a test for GPU backends that support fp16 that exercises a few of them.

shoaibkamil commented 2 weeks ago

Fixed by https://github.com/halide/Halide/pull/8260