-
Notifications
You must be signed in to change notification settings - Fork 443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix msvc cuda develop #6659
Fix msvc cuda develop #6659
Conversation
Also split math functions test differently to avoid need for bigobj
(defined(KOKKOS_COMPILER_NVCC) && KOKKOS_COMPILER_NVCC >= 1130) | ||
#if defined KOKKOS_COMPILER_INTEL || \ | ||
(defined(KOKKOS_COMPILER_NVCC) && KOKKOS_COMPILER_NVCC >= 1130 && \ | ||
!defined(KOKKOS_COMPILER_MSVC)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider updating the comment above
@@ -1581,6 +1585,7 @@ struct TestIsFinite { | |||
++e; | |||
Kokkos::printf("failed isfinite(float)\n"); | |||
} | |||
#if !(defined(KOKKOS_ENABLE_CUDA) && defined(KOKKOS_COMPILER_MSVC)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the deal with commenting out some of the half type tests?. Neither the commit messages nor the description refer to these changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah yeah I guess missed that in the message: some random error inside system header files ...
@@ -394,10 +395,12 @@ DEFINE_UNARY_FUNCTION_EVAL(log2, 2); | |||
DEFINE_UNARY_FUNCTION_EVAL(log1p, 2); | |||
#endif | |||
|
|||
#ifndef KOKKOS_MATHEMATICAL_FUNCTIONS_SKIP_1 | |||
#ifndef KOKKOS_MATHEMATICAL_FUNCTIONS_SKIP_2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you comment about what you did here (on GH). You just randomly moved tests from on exe to the other or was there some reasoning behind it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Monkey do monkey see.
Various small fixups for MSVC/CUDA build: