refactor: two engineInstanced-methods removed

Related-To: NEO-12594

Signed-off-by: Wojciech Konior <wojciech.konior@intel.com>
This commit is contained in:
Wojciech Konior
2024-10-11 16:47:02 +00:00
committed by Compute-Runtime-Automation
parent 5899e926fa
commit 8a6626da23
3 changed files with 1 additions and 94 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2021-2023 Intel Corporation
* Copyright (C) 2021-2024 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -35,10 +35,6 @@ class AffinityMaskHelper {
enableGenericSubDevice(subDeviceIndex, std::numeric_limits<uint32_t>::max());
}
void enableEngineInstancedSubDevice(uint32_t subDeviceIndex, uint32_t engineIndex) {
enableGenericSubDevice(subDeviceIndex, (1u << engineIndex));
}
void enableAllGenericSubDevices(uint32_t subDeviceCount) {
for (uint32_t i = 0; i < subDeviceCount; i++) {
enableGenericSubDevice(i);