diff --git a/src/KOKKOS/kokkos_type.h b/src/KOKKOS/kokkos_type.h index fd304efd1c..bfd9bba8aa 100644 --- a/src/KOKKOS/kokkos_type.h +++ b/src/KOKKOS/kokkos_type.h @@ -159,7 +159,7 @@ template class KKDevice { public: #if ((defined(KOKKOS_ENABLE_CUDA) && defined(KOKKOS_ENABLE_CUDA_UVM)) || \ - (defined(KOKKOS_ENABLE_HIP) && defined(KOKKOS_ENABLE_IMPL_HIP_UNIFIED_MEMORY))) + (defined(KOKKOS_ENABLE_HIP) && defined(KOKKOS_ARCH_AMD_GFX942_APU))) typedef Kokkos::Device value; #else typedef Kokkos::Device value;