Skip to content

Commit

Permalink
Update HeterogeneousCore/ROCmServices/plugins/ROCmService.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Andrea Bocci <andrea.bocci@cern.ch>
  • Loading branch information
smuzaffar and fwyzard authored Apr 24, 2024
1 parent 96cd26b commit 6f7fa6a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions HeterogeneousCore/ROCmServices/plugins/ROCmService.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
#include <vector>

#include <hip/hip_runtime.h>
#if HIP_VERSION_MAJOR >= 6
// the location of rocm_version.h changed in HIP/ROCm 6.0
#include <rocm-core/rocm_version.h>
#else
#include <rocm_version.h>
#endif // HIP_VERSION_MAJOR
#include <rocm_smi/rocm_smi.h>

#include "FWCore/MessageLogger/interface/MessageLogger.h"
Expand Down

0 comments on commit 6f7fa6a

Please sign in to comment.