Add override qualifier to CPU and GPU agent api
Change-Id: I930e29d671b5dc81dece6f910d611056a54d2c85
[ROCm/ROCR-Runtime commit: a043c6acbb]
This commit is contained in:
@@ -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.
|
||||
//
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user