[clang] [CUDA][Win32] Add `fma(long double,..)` to math forward declares. (PR #73756)
Evgeny Mankov via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 5 02:22:33 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);
----------------
emankov wrote:
Yes, we have. But how do we prevent them from running on GPU?
https://github.com/llvm/llvm-project/pull/73756
More information about the cfe-commits
mailing list