[libclc] [libclc][spirv] Implement single-rounded fp16 fma for Vulkan (PR #247196)
Romaric Jodin via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 1 00:02:19 PST 2026
================
@@ -14,3 +15,51 @@
#define __CLC_BODY "clc/shared/ternary_def.inc"
#include "clc/math/gentype.inc"
+
+#undef __CLC_IMPL_FUNCTION
+
+#ifdef cl_khr_fp16
+#pragma OPENCL EXTENSION cl_khr_fp16 : enable
+#pragma OPENCL FP_CONTRACT OFF
----------------
rjodinchr wrote:
done
https://github.com/llvm/llvm-project/pull/247196
More information about the cfe-commits
mailing list