mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
style: skip redundant unique_ptr::get function
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
d18e89e439
commit
943ad0e1eb
@ -399,8 +399,8 @@ MultiGraphicsAllocation &CommandStreamReceiver::createTagsMultiAllocation() {
|
||||
rootDeviceIndices.push_back(rootDeviceIndex);
|
||||
} else {
|
||||
for (auto index = 0u; index < this->executionEnvironment.rootDeviceEnvironments.size(); index++) {
|
||||
if (this->executionEnvironment.rootDeviceEnvironments[index].get()->getHardwareInfo()->platform.eProductFamily ==
|
||||
this->executionEnvironment.rootDeviceEnvironments[this->rootDeviceIndex].get()->getHardwareInfo()->platform.eProductFamily) {
|
||||
if (this->executionEnvironment.rootDeviceEnvironments[index]->getHardwareInfo()->platform.eProductFamily ==
|
||||
this->executionEnvironment.rootDeviceEnvironments[this->rootDeviceIndex]->getHardwareInfo()->platform.eProductFamily) {
|
||||
rootDeviceIndices.push_back(index);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user