Remove not needed function calls

Related-To: NEO-7003

Minor: remove empty function calls

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2022-06-22 11:57:48 +00:00
committed by Compute-Runtime-Automation
parent 410598372d
commit 2f46a7da63
10 changed files with 27 additions and 19 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018-2021 Intel Corporation
* Copyright (C) 2018-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -54,7 +54,7 @@ struct StateBaseAddressHelper {
bool useGlobalAtomics,
bool areMultipleSubDevicesInContext);
static void appendExtraCacheSettings(STATE_BASE_ADDRESS *stateBaseAddress, GmmHelper *gmmHelper);
static void appendExtraCacheSettings(STATE_BASE_ADDRESS *stateBaseAddress);
static void programBindingTableBaseAddress(LinearStream &commandStream, const IndirectHeap &ssh, GmmHelper *gmmHelper);

View File

@@ -103,6 +103,6 @@ void StateBaseAddressHelper<GfxFamily>::programStateBaseAddress(
}
template <typename GfxFamily>
void StateBaseAddressHelper<GfxFamily>::appendExtraCacheSettings(STATE_BASE_ADDRESS *stateBaseAddress, GmmHelper *gmmHelper) {}
void StateBaseAddressHelper<GfxFamily>::appendExtraCacheSettings(STATE_BASE_ADDRESS *stateBaseAddress) {}
} // namespace NEO

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2021 Intel Corporation
* Copyright (C) 2020-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -21,7 +21,6 @@ void StateBaseAddressHelper<GfxFamily>::appendStateBaseAddressParameters(
bool overrideBindlessSurfaceStateBase,
bool useGlobalAtomics,
bool areMultipleSubDevicesInContext) {
appendExtraCacheSettings(stateBaseAddress, gmmHelper);
}
template <typename GfxFamily>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2021 Intel Corporation
* Copyright (C) 2020-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -37,8 +37,6 @@ void StateBaseAddressHelper<GfxFamily>::appendStateBaseAddressParameters(
stateBaseAddress->setBindlessSurfaceStateMemoryObjectControlState(gmmHelper->getMOCS(l3CacheOnPolicy));
stateBaseAddress->setBindlessSamplerStateMemoryObjectControlState(gmmHelper->getMOCS(l3CacheOnPolicy));
}
appendExtraCacheSettings(stateBaseAddress, gmmHelper);
}
template <typename GfxFamily>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2021 Intel Corporation
* Copyright (C) 2020-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -28,8 +28,6 @@ void StateBaseAddressHelper<GfxFamily>::appendStateBaseAddressParameters(
uint32_t size = uint32_t(ssh->getMaxAvailableSpace() / 64) - 1;
stateBaseAddress->setBindlessSurfaceStateSize(size);
}
appendExtraCacheSettings(stateBaseAddress, gmmHelper);
}
template <typename GfxFamily>

View File

@@ -86,7 +86,7 @@ void StateBaseAddressHelper<GfxFamily>::appendStateBaseAddressParameters(
stateBaseAddress->setStatelessDataPortAccessMemoryObjectControlState(gmmHelper->getMOCS(GMM_RESOURCE_USAGE_OCL_BUFFER_CONST));
}
appendExtraCacheSettings(stateBaseAddress, gmmHelper);
appendExtraCacheSettings(stateBaseAddress);
}
template <typename GfxFamily>