[clang] [CUDA][Win32] Add `fma(long double,..)` to math forward declares. (PR #73756)
Artem Belevich via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 5 10:35:03 PST 2023
================
@@ -70,6 +70,9 @@ __DEVICE__ double floor(double);
__DEVICE__ float floor(float);
__DEVICE__ double fma(double, double, double);
__DEVICE__ float fma(float, float, float);
+#ifdef _MSC_VER
+__DEVICE__ long double fma(long double, long double, long double);
----------------
Artem-B wrote:
Given that there's no implementation for these functions, the reference will remain unresolved and GPU-side executable linking will fail.
https://github.com/llvm/llvm-project/pull/73756
More information about the cfe-commits
mailing list