emankov wrote:
Hello, @fodinabor and @blinkfrog
> the #ifdef _MSC_VER check may not be effective because _MSC_VER is specific
> to the MSVC compiler and is not defined when using Clang, even on Windows
Does it mean that this fix doesn't solve
https://github.com/AdaptiveCpp/AdaptiveCpp/issues
@@ -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);
eman
@@ -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);
eman
@@ -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);
eman
Author: Evgeny Mankov
Date: 2022-04-21T00:41:20+03:00
New Revision: c23147106f7efc4b5e29c47a08951116b4d994ac
URL:
https://github.com/llvm/llvm-project/commit/c23147106f7efc4b5e29c47a08951116b4d994ac
DIFF:
https://github.com/llvm/llvm-project/commit/c23147106f7efc4b5e29c47a08951116b4d994ac.diff
Author: emankov
Date: Tue Aug 27 15:15:32 2019
New Revision: 370123
URL: http://llvm.org/viewvc/llvm-project?rev=370123&view=rev
Log:
[preprocessor] Add an opportunity to retain excluded conditional blocks
It is handy for clang tooling, for instance, in source to source transformation.
Reviewers
Author: emankov
Date: Thu Apr 18 03:08:55 2019
New Revision: 358654
URL: http://llvm.org/viewvc/llvm-project?rev=358654&view=rev
Log:
[CUDA][Windows] Restrict long double device functions declarations to Windows
As agreed in D60220, make long double declarations unobservable on non-windows
platf
Author: emankov
Date: Fri Apr 5 09:51:10 2019
New Revision: 357779
URL: http://llvm.org/viewvc/llvm-project?rev=357779&view=rev
Log:
[CUDA][Windows] Last fix for the clang Bug 38811 "Clang fails to compile with
CUDA-9.x on Windows" (https://bugs.llvm.org/show_bug.cgi?id=38811).
[IMPORTANT]
With
Author: emankov
Date: Fri Mar 15 12:04:46 2019
New Revision: 356291
URL: http://llvm.org/viewvc/llvm-project?rev=356291&view=rev
Log:
[CUDA][Windows] Partial fix for bug 38811 (Step 2 of 3)
Partial fix for the clang Bug 38811 "Clang fails to compile with CUDA-9.x on
Windows".
[Synopsis]
__sptr
Author: emankov
Date: Fri Mar 15 05:05:36 2019
New Revision: 356255
URL: http://llvm.org/viewvc/llvm-project?rev=356255&view=rev
Log:
[CUDA][Windows] Partial fix for bug #38811 (Step 1 of 3)
Partial fix for the clang Bug https://bugs.llvm.org/show_bug.cgi?id=38811
"Clang fails to compile with CU
10 matches
Mail list logo