Remove unused GpuAgent.local_region_ member.

Change-Id: I99526e6b1f64e810f7fed5d922c540d252a46d80


[ROCm/ROCR-Runtime commit: 981c6bd8c3]
Этот коммит содержится в:
Sean Keely
2021-06-03 16:08:22 -05:00
родитель c35562e45b
Коммит 426a9f4df0
2 изменённых файлов: 0 добавлений и 4 удалений
-2
Просмотреть файл
@@ -433,8 +433,6 @@ class GpuAgent : public GpuAgentInt {
// @brief Array of regions owned by this agent.
std::vector<const core::MemoryRegion*> regions_;
MemoryRegion* local_region_;
core::Isa* isa_;
// @brief HSA profile.
-2
Просмотреть файл
@@ -83,7 +83,6 @@ GpuAgent::GpuAgent(HSAuint32 node, const HsaNodeProperties& node_props, bool xna
current_coherency_type_(HSA_AMD_COHERENCY_TYPE_COHERENT),
scratch_used_large_(0),
queues_(),
local_region_(NULL),
is_kv_device_(false),
trap_code_buf_(NULL),
trap_code_buf_size_(0),
@@ -358,7 +357,6 @@ void GpuAgent::InitRegionList() {
regions_.push_back(region);
if (region->IsLocalMemory()) {
local_region_ = region;
// Expose VRAM as uncached/fine grain over PCIe (if enabled) or XGMI.
if ((properties_.HiveID != 0) ||
(core::Runtime::runtime_singleton_->flag().fine_grain_pcie())) {