diff --git a/runtime/hsa-runtime/core/inc/amd_gpu_agent.h b/runtime/hsa-runtime/core/inc/amd_gpu_agent.h index e45a165e97..d49c4fdd8a 100644 --- a/runtime/hsa-runtime/core/inc/amd_gpu_agent.h +++ b/runtime/hsa-runtime/core/inc/amd_gpu_agent.h @@ -76,7 +76,7 @@ class GpuAgentInt : public core::Agent { // @param [in] node_id Node id. // @param [in] driver_type Driver type. Default is KFD. GpuAgentInt(uint32_t node_id, core::DriverType driver_type) - : core::Agent(core::Runtime::runtime_singleton_->AgentDriver(driver_type), node_id, + : core::Agent(core::Runtime::runtime_singleton_->AgentDriver(driver_type), node_id, core::Agent::DeviceType::kAmdGpuDevice) {} // @brief Ensure blits are ready (performance hint). @@ -725,9 +725,6 @@ class GpuAgent : public GpuAgentInt { // @brief Alternative aperture base address. Only on KV. uintptr_t ape1_base_; - // @brief Alternative aperture size. Only on KV. - size_t ape1_size_; - // @brief Queue with GWS access. struct { lazy_ptr queue_; diff --git a/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp b/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp index 3b830af294..fdcff3a18f 100644 --- a/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp +++ b/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp @@ -106,7 +106,6 @@ GpuAgent::GpuAgent(HSAuint32 node, const HsaNodeProperties& node_props, bool xna memory_max_frequency_(0), enum_index_(index), ape1_base_(0), - ape1_size_(0), pending_copy_req_ref_(0), pending_copy_stat_check_ref_(0), sdma_blit_used_mask_(0),