mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-27 15:53:13 +08:00
Revert "Extend ZE_AFFINITY_MASK to OCL"
This reverts commit 452b53fb4d02ebf4205018b9fd982422e2d85f30. Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
bcd4e38eca
commit
18bfc3be8b
@@ -72,15 +72,14 @@ bool RootDevice::createDeviceImpl() {
|
||||
numSubDevices = 0;
|
||||
}
|
||||
UNRECOVERABLE_IF(!subdevices.empty());
|
||||
subdevices.resize(numSubDevices, nullptr);
|
||||
for (auto i = 0u; i < numSubDevices; i++) {
|
||||
if (!((1UL << i) & executionEnvironment->rootDeviceEnvironments[this->rootDeviceIndex]->deviceAffinityMask)) {
|
||||
continue;
|
||||
}
|
||||
auto subDevice = createSubDevice(static_cast<uint32_t>(subdevices.size()));
|
||||
|
||||
auto subDevice = createSubDevice(i);
|
||||
if (!subDevice) {
|
||||
return false;
|
||||
}
|
||||
subdevices.push_back(subDevice);
|
||||
subdevices[i] = subDevice;
|
||||
}
|
||||
auto status = Device::createDeviceImpl();
|
||||
if (!status) {
|
||||
|
||||
Reference in New Issue
Block a user