Skip to content

Commit

Permalink
Fix compilation error, kk_is_gpu_exec_space->is_gpu_exec_space_v (kok…
Browse files Browse the repository at this point in the history
…kos#2358)

Apply change consistent with PR kokkos#2354
  • Loading branch information
ndellingwood authored Oct 4, 2024
1 parent 6ca8116 commit 0b34f3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sparse/impl/KokkosSparse_sort_crs_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ bool useBulkSortHeuristic(Ordinal avgDeg, Ordinal maxDeg) {
// * GPU execution space, HIP is enabled, but no ROCTHRUST
// * GPU execution space, HIP is enabled, and GPU is GFX942
// (Kokkos seems to require thrust when CUDA is enabled)
if constexpr (KokkosKernels::Impl::kk_is_gpu_exec_space<ExecSpace>()) {
if constexpr (KokkosKernels::Impl::is_gpu_exec_space_v<ExecSpace>) {
#if (defined(KOKKOS_ENABLE_SYCL) && !defined(KOKKOS_ONEDPL_HAS_SORT_BY_KEY)) || \
(defined(KOKKOS_ENABLE_HIP) && !defined(KOKKOS_ENABLE_ROCTHRUST)) || \
(defined(KOKKOS_ENABLE_HIP) && defined(KOKKOS_ARCH_AMD_GFX942))
Expand Down

0 comments on commit 0b34f3d

Please sign in to comment.