mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 05:24:02 +08:00
Remove not needed std::vector copies
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
6da32a9c5e
commit
bf64769807
@@ -25,7 +25,7 @@ struct PrepareDeviceEnvironmentsTest : ::testing::Test {
|
||||
ultHwConfig.useMockedPrepareDeviceEnvironmentsFunc = false;
|
||||
productConfigHelper = std::make_unique<ProductConfigHelper>();
|
||||
|
||||
auto aotInfos = productConfigHelper->getDeviceAotInfo();
|
||||
auto &aotInfos = productConfigHelper->getDeviceAotInfo();
|
||||
for (const auto &aotInfo : aotInfos) {
|
||||
if (aotInfo.hwInfo->platform.eProductFamily == productFamily && !aotInfo.acronyms.empty()) {
|
||||
deviceAot = aotInfo;
|
||||
|
||||
Reference in New Issue
Block a user