fix: various small improvements

Related-To: NEO-15630

Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
This commit is contained in:
Maciej Bielski
2025-09-18 10:07:05 +00:00
committed by Compute-Runtime-Automation
parent 47fe017efd
commit e8d43ff074
4 changed files with 9 additions and 3 deletions

View File

@@ -13,6 +13,7 @@
#include "shared/source/execution_environment/execution_environment.h"
#include "shared/source/execution_environment/root_device_environment.h"
#include "shared/source/helpers/api_specific_config.h"
#include "shared/source/helpers/debug_helpers.h"
#include "shared/source/helpers/device_bitfield.h"
#include "shared/source/helpers/gfx_core_helper.h"
#include "shared/source/helpers/hw_info.h"
@@ -289,6 +290,7 @@ DriverHandleImp::~DriverHandleImp() {
void DriverHandleImp::updateRootDeviceBitFields(std::unique_ptr<NEO::Device> &neoDevice) {
const auto rootDeviceIndex = neoDevice->getRootDeviceIndex();
auto entry = this->deviceBitfields.find(rootDeviceIndex);
UNRECOVERABLE_IF(entry == this->deviceBitfields.end());
entry->second = neoDevice->getDeviceBitfield();
}