[perf] Improve placement of KMD shared allocation in scenario with subdevice 1

Improves performance for benchmarks with KMD-migrated shared allocation
in scenarios with ZE_AFFINITY_MASK=0.1.

Related-To: NEO-7881

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
This commit is contained in:
Milczarek, Slawomir
2023-04-10 22:40:54 +00:00
committed by Compute-Runtime-Automation
parent 94dc789212
commit 0ff46562db
7 changed files with 66 additions and 10 deletions

View File

@@ -459,7 +459,7 @@ uint32_t IoctlHelperXe::getPreferredLocationAdvise() {
return 0;
}
std::optional<MemoryClassInstance> IoctlHelperXe::getPreferredLocationRegion(uint32_t boIndex) {
std::optional<MemoryClassInstance> IoctlHelperXe::getPreferredLocationRegion(uint32_t memoryInstance) {
return std::nullopt;
}