Skip to content

Commit

Permalink
Merge pull request #46455 from fwyzard/Support_ROCm60_140x
Browse files Browse the repository at this point in the history
Add support for ROCm 6.x (14.0.x)
  • Loading branch information
cmsbuild authored Oct 29, 2024
2 parents adb8a14 + 8021b14 commit 39c747b
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 39c747b

Please sign in to comment.