mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Fix clang-tidy issues
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4d6d5ba90e
commit
67216047db
@@ -16,8 +16,8 @@ namespace NEO {
|
||||
bool GmmMemoryBase::configureDeviceAddressSpace(GMM_ESCAPE_HANDLE hAdapter,
|
||||
GMM_ESCAPE_HANDLE hDevice,
|
||||
GMM_ESCAPE_FUNC_TYPE pfnEscape,
|
||||
GMM_GFX_SIZE_T SvmSize,
|
||||
BOOLEAN BDWL3Coherency) {
|
||||
GMM_GFX_SIZE_T svmSize,
|
||||
BOOLEAN bdwL3Coherency) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,16 +16,16 @@ namespace NEO {
|
||||
bool GmmMemoryBase::configureDeviceAddressSpace(GMM_ESCAPE_HANDLE hAdapter,
|
||||
GMM_ESCAPE_HANDLE hDevice,
|
||||
GMM_ESCAPE_FUNC_TYPE pfnEscape,
|
||||
GMM_GFX_SIZE_T SvmSize,
|
||||
BOOLEAN BDWL3Coherency) {
|
||||
GMM_GFX_SIZE_T svmSize,
|
||||
BOOLEAN bdwL3Coherency) {
|
||||
return clientContext.ConfigureDeviceAddressSpace(
|
||||
{hAdapter},
|
||||
{hDevice},
|
||||
{pfnEscape},
|
||||
SvmSize,
|
||||
svmSize,
|
||||
0,
|
||||
0,
|
||||
BDWL3Coherency,
|
||||
bdwL3Coherency,
|
||||
0,
|
||||
0) != 0;
|
||||
}
|
||||
|
||||
@@ -19,12 +19,12 @@ GmmMemoryBase::GmmMemoryBase(GmmClientContext *gmmClientContext) : clientContext
|
||||
bool GmmMemoryBase::configureDevice(GMM_ESCAPE_HANDLE hAdapter,
|
||||
GMM_ESCAPE_HANDLE hDevice,
|
||||
GMM_ESCAPE_FUNC_TYPE pfnEscape,
|
||||
GMM_GFX_SIZE_T SvmSize,
|
||||
BOOLEAN BDWL3Coherency,
|
||||
GMM_GFX_SIZE_T svmSize,
|
||||
BOOLEAN bdwL3Coherency,
|
||||
uintptr_t &minAddress,
|
||||
bool obtainMinAddress) {
|
||||
minAddress = windowsMinAddress;
|
||||
auto retVal = configureDeviceAddressSpace(hAdapter, hDevice, pfnEscape, SvmSize, BDWL3Coherency);
|
||||
auto retVal = configureDeviceAddressSpace(hAdapter, hDevice, pfnEscape, svmSize, bdwL3Coherency);
|
||||
if (obtainMinAddress) {
|
||||
minAddress = getInternalGpuVaRangeLimit();
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2020 Intel Corporation
|
||||
* Copyright (C) 2018-2021 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -19,14 +19,14 @@ class GmmMemoryBase {
|
||||
MOCKABLE_VIRTUAL bool configureDeviceAddressSpace(GMM_ESCAPE_HANDLE hAdapter,
|
||||
GMM_ESCAPE_HANDLE hDevice,
|
||||
GMM_ESCAPE_FUNC_TYPE pfnEscape,
|
||||
GMM_GFX_SIZE_T SvmSize,
|
||||
BOOLEAN BDWL3Coherency);
|
||||
GMM_GFX_SIZE_T svmSize,
|
||||
BOOLEAN bdwL3Coherency);
|
||||
|
||||
bool configureDevice(GMM_ESCAPE_HANDLE hAdapter,
|
||||
GMM_ESCAPE_HANDLE hDevice,
|
||||
GMM_ESCAPE_FUNC_TYPE pfnEscape,
|
||||
GMM_GFX_SIZE_T SvmSize,
|
||||
BOOLEAN BDWL3Coherency,
|
||||
GMM_GFX_SIZE_T svmSize,
|
||||
BOOLEAN bdwL3Coherency,
|
||||
uintptr_t &minAddress,
|
||||
bool obtainMinAddress);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user