mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 08:53:55 +08:00
fix: Taking into account variable ReturnSubDevicesAsApiDevices
Taking into account variable ReturnSubDevicesAsApiDevices during Retain and Release Device Related-To: NEO-8161 Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
81d037f59b
commit
0a3b135673
@@ -330,6 +330,10 @@ void ExecutionEnvironment::configureNeoEnvironment() {
|
||||
if (strcmp(hierarchyModel.c_str(), "FLAT") == 0) {
|
||||
setExposeSubDevicesAsDevices(true);
|
||||
}
|
||||
|
||||
if (NEO::DebugManager.flags.ReturnSubDevicesAsApiDevices.get() == 1) {
|
||||
setExposeSubDevicesAsDevices(true);
|
||||
}
|
||||
}
|
||||
|
||||
bool ExecutionEnvironment::comparePciIdBusNumber(std::unique_ptr<RootDeviceEnvironment> &rootDeviceEnvironment1, std::unique_ptr<RootDeviceEnvironment> &rootDeviceEnvironment2) {
|
||||
|
||||
Reference in New Issue
Block a user