diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/inc/amd_cpu_agent.h b/projects/rocr-runtime/runtime/hsa-runtime/core/inc/amd_cpu_agent.h index 08c098456c..24e0011f00 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/inc/amd_cpu_agent.h +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/inc/amd_cpu_agent.h @@ -107,7 +107,7 @@ class CpuAgent : public core::Agent { __forceinline size_t num_cache() const { return cache_props_.size(); } // @brief Returns Hive ID - __forceinline uint64_t HiveId() const { return properties_.HiveID; } + __forceinline uint64_t HiveId() const override { return properties_.HiveID; } // @brief Returns data cache property. // diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/inc/amd_gpu_agent.h b/projects/rocr-runtime/runtime/hsa-runtime/core/inc/amd_gpu_agent.h index cc00277a74..4f6a6dc2b7 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/inc/amd_gpu_agent.h +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/inc/amd_gpu_agent.h @@ -300,7 +300,7 @@ class GpuAgent : public GpuAgentInt { // Getter & setters. // @brief Returns Hive ID - __forceinline uint64_t HiveId() const { return properties_.HiveID; } + __forceinline uint64_t HiveId() const override { return properties_.HiveID; } // @brief Returns node property. __forceinline const HsaNodeProperties& properties() const {