Skip to content

Commit

Permalink
Merge pull request #1088 from LLNL/bugfix/white238/avx512_cuda_intrin…
Browse files Browse the repository at this point in the history
…sics

Guard intrinsic headers against nvcc
  • Loading branch information
white238 committed May 12, 2023
2 parents d8c707d + 58816c9 commit 6c79744
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/axom/core/utilities/BitUtilities.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@

// Check for and setup defines for platform-specific intrinsics
// Note: `__GNUC__` is defined for the gnu, clang and intel compilers
#if defined(_WIN64) && (_MSC_VER >= 1600)
#if defined(__CUDACC__)
// Intrinsics included implicitly
#elif defined(_WIN64) && (_MSC_VER >= 1600)
#define _AXOM_CORE_USE_INTRINSICS_MSVC
#include <intrin.h>
#elif defined(__x86_64__) && defined(__GNUC__)
Expand Down

0 comments on commit 6c79744

Please sign in to comment.