mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
Cover empty affinity mask case
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
65aecc84f1
commit
0646e03cc0
@@ -82,7 +82,7 @@ void ExecutionEnvironment::prepareRootDeviceEnvironments(uint32_t numRootDevices
|
||||
void ExecutionEnvironment::parseAffinityMask() {
|
||||
auto affinityMaskString = DebugManager.flags.ZE_AFFINITY_MASK.get();
|
||||
|
||||
if (affinityMaskString.compare("default") == 0) {
|
||||
if (affinityMaskString.compare("default") == 0 || affinityMaskString.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user