Skip to content

Commit

Permalink
Compute concurrency on HIP using Kokkos hardcoded m_maxWavesPerCU
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenarnst committed Oct 3, 2023
1 parent 41cf2e5 commit 7447118
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/HIP/Kokkos_HIP_Instance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ std::size_t scratch_count(const std::size_t size) {
//----------------------------------------------------------------------------

int HIPInternal::concurrency() {
static int const concurrency = m_deviceProp.maxThreadsPerMultiProcessor *
m_deviceProp.multiProcessorCount;
static int const concurrency = m_maxThreadsPerSM * m_multiProcCount;

return concurrency;
}

Expand Down

0 comments on commit 7447118

Please sign in to comment.