Skip to content

Commit

Permalink
trying to resolve hip error
Browse files Browse the repository at this point in the history
  • Loading branch information
kab163 committed Oct 7, 2024
1 parent b3d2138 commit 857cf35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/integration/resource_aware_pool_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ __device__ clock_value_t my_clock()
return clock64();
}
#elif defined(UMPIRE_ENABLE_HIP)
#include <hip/hip_runtime.h>

__device__ clock_value_t my_clock()
{
return hipGetClock();
Expand Down

0 comments on commit 857cf35

Please sign in to comment.