Skip to content

Commit

Permalink
HOMME: fix scope of HIPTraits from kokkos
Browse files Browse the repository at this point in the history
  • Loading branch information
bartgol committed Apr 25, 2024
1 parent 389cd9f commit db1a5b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/homme/src/share/cxx/ExecSpaceDefs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ team_num_threads_vectors (const int num_parallel_iterations,
#elif defined(KOKKOS_ENABLE_HIP)
// Use 64 wavefronts per CU and 120 CUs.
const int num_warps_device = 120*64; // no such thing Kokkos::Impl::hip_internal_maximum_warp_count();
const int num_threads_warp = Kokkos::Experimental::Impl::HIPTraits::WarpSize;
const int num_threads_warp = Kokkos::Impl::HIPTraits::WarpSize;
#else
// I want thread-distribution rules to be unit-testable even when GPU spaces
// are off. Thus, make up a GPU-like machine:
Expand Down

0 comments on commit db1a5b0

Please sign in to comment.