Skip to content

Commit

Permalink
Update Kokkos_SIMD.hpp
Browse files Browse the repository at this point in the history
Remove the check for nvc here and add it to cmake.
  • Loading branch information
diehlpk authored Jul 25, 2024
1 parent b472df8 commit be4c315
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions simd/src/Kokkos_SIMD.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ namespace Impl {
using host_native = avx512_fixed_size<8>;
#elif defined(KOKKOS_ARCH_AVX2)
using host_native = avx2_fixed_size<4>;
#elif defined(KOKKOS_ARCH_ARM_NEON) && !defined(__NVCC__)
#elif defined(KOKKOS_ARCH_ARM_NEON)
using host_native = neon_fixed_size<2>;
#else
using host_native = scalar;
Expand Down Expand Up @@ -193,7 +193,7 @@ using host_abi_set = abi_set<simd_abi::scalar, simd_abi::avx2_fixed_size<4>,
simd_abi::avx2_fixed_size<8>>;
using data_type_set =
data_types<std::int32_t, std::int64_t, std::uint64_t, double, float>;
#elif defined(KOKKOS_ARCH_ARM_NEON) && !defined(__NVCC__)
#elif defined(KOKKOS_ARCH_ARM_NEON)
using host_abi_set = abi_set<simd_abi::scalar, simd_abi::neon_fixed_size<2>,
simd_abi::neon_fixed_size<4>>;
using data_type_set =
Expand Down

0 comments on commit be4c315

Please sign in to comment.