mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
refactor: fix typos
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5c6ae48d17
commit
195bf66a49
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2022 Intel Corporation
|
||||
* Copyright (C) 2018-2025 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
// Need to suppress warining 4005 caused by hw_cmds.h and wddm.h order.
|
||||
// Need to suppress warning 4005 caused by hw_cmds.h and wddm.h order.
|
||||
// Current order must be preserved due to two versions of igfxfmid.h
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 4005)
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
// Need to suppress warining 4005 caused by hw_cmds.h and wddm.h order.
|
||||
// Need to suppress warning 4005 caused by hw_cmds.h and wddm.h order.
|
||||
// Current order must be preserved due to two versions of igfxfmid.h
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 4005)
|
||||
|
||||
@@ -223,7 +223,7 @@ GraphicsAllocation *WddmMemoryManager::allocateGraphicsMemoryUsingKmdAndMapItToC
|
||||
return allocateHugeGraphicsMemory(allocationData, isBufferHostMemory);
|
||||
}
|
||||
|
||||
// algin gpu address of device part of usm shared allocation to 64kb for WSL2
|
||||
// align gpu address of device part of usm shared allocation to 64kb for WSL2
|
||||
auto alignGpuAddressTo64KB = allocationData.allocationMethod == GfxMemoryAllocationMethod::allocateByKmd && allocationData.makeGPUVaDifferentThanCPUPtr;
|
||||
|
||||
if (alignGpuAddressTo64KB) {
|
||||
|
||||
Reference in New Issue
Block a user