[llvm-branch-commits] [libclc] libclc: Really implement half trig functions (PR #187457)

Wenju He via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Mar 19 01:19:45 PDT 2026


================
@@ -44,3 +44,9 @@
 #include "clc/math/gentype.inc"
 
 #endif
+
+#ifdef cl_khr_fp16
----------------
wenju-he wrote:

add `#pragma OPENCL EXTENSION cl_khr_fp16 : enable` since this is generic file?

https://github.com/llvm/llvm-project/pull/187457


More information about the llvm-branch-commits mailing list