Add override qualifier to CPU and GPU agent api

Change-Id: I930e29d671b5dc81dece6f910d611056a54d2c85


[ROCm/ROCR-Runtime commit: a043c6acbb]
This commit is contained in:
Ramesh Errabolu
2019-08-06 18:13:26 -05:00
rodzic 568620e42e
commit 8f58e11c31
2 zmienionych plików z 2 dodań i 2 usunięć
@@ -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 {