mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 07:08:04 +08:00
fix: various small improvements
Related-To: NEO-15630 Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
47fe017efd
commit
e8d43ff074
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user