mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 22:12:59 +08:00
refactor: two engineInstanced-methods removed
Related-To: NEO-12594 Signed-off-by: Wojciech Konior <wojciech.konior@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5899e926fa
commit
8a6626da23
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user