refactor: remove not used usings/typedefs/variables

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2024-11-28 15:01:10 +00:00
committed by Compute-Runtime-Automation
parent 2039b1c41b
commit fa58073095
26 changed files with 4 additions and 59 deletions

View File

@@ -724,7 +724,6 @@ ze_result_t CommandListCoreFamilyImmediate<gfxCoreFamily>::appendMemoryFill(void
template <GFXCORE_FAMILY gfxCoreFamily>
ze_result_t CommandListCoreFamilyImmediate<gfxCoreFamily>::appendSignalEvent(ze_event_handle_t hSignalEvent, bool relaxedOrderingDispatch) {
using GfxFamily = typename NEO::GfxFamilyMapper<gfxCoreFamily>::GfxFamily;
ze_result_t ret = ZE_RESULT_SUCCESS;
relaxedOrderingDispatch = isRelaxedOrderingDispatchAllowed(0, false);
@@ -737,7 +736,6 @@ ze_result_t CommandListCoreFamilyImmediate<gfxCoreFamily>::appendSignalEvent(ze_
template <GFXCORE_FAMILY gfxCoreFamily>
ze_result_t CommandListCoreFamilyImmediate<gfxCoreFamily>::appendEventReset(ze_event_handle_t hSignalEvent) {
using GfxFamily = typename NEO::GfxFamilyMapper<gfxCoreFamily>::GfxFamily;
ze_result_t ret = ZE_RESULT_SUCCESS;
checkAvailableSpace(0, false, commonImmediateCommandSize);

View File

@@ -238,8 +238,6 @@ size_t CommandQueueHw<gfxCoreFamily>::estimateStreamSizeForExecuteCommandListsRe
ze_command_list_handle_t *commandListHandles,
bool instructionCacheFlushRequired,
bool stateCacheFlushRequired) {
using MI_BATCH_BUFFER_START = typename GfxFamily::MI_BATCH_BUFFER_START;
using MI_BATCH_BUFFER_END = typename GfxFamily::MI_BATCH_BUFFER_END;
size_t linearStreamSizeEstimate = 0u;
if (ctx.isDirectSubmissionEnabled) {
@@ -849,9 +847,6 @@ template <GFXCORE_FAMILY gfxCoreFamily>
size_t CommandQueueHw<gfxCoreFamily>::estimateLinearStreamSizeInitial(
CommandListExecutionContext &ctx) {
using MI_BATCH_BUFFER_START = typename GfxFamily::MI_BATCH_BUFFER_START;
using MI_BATCH_BUFFER_END = typename GfxFamily::MI_BATCH_BUFFER_END;
size_t linearStreamSizeEstimate = 0u;
auto hwContextSizeEstimate = this->csr->getCmdsSizeForHardwareContext();

View File

@@ -193,9 +193,6 @@ size_t ImageImp::getRowPitchFor2dImage(Device *device, const NEO::ImageInfo &img
NEO::StorageInfo storageInfo = {};
NEO::ImageInfo info = imgInfo;
NEO::GmmRequirements gmmRequirements{};
gmmRequirements.allowLargePages = true;
DeviceImp *deviceImp = static_cast<DeviceImp *>(device);
NEO::Gmm gmm(deviceImp->getNEODevice()->getExecutionEnvironment()->rootDeviceEnvironments[deviceImp->getRootDeviceIndex()]->getGmmHelper(),

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2023 Intel Corporation
* Copyright (C) 2020-2024 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -124,7 +124,6 @@ void SamplerCoreFamily<gfxCoreFamily>::copySamplerStateToDSH(void *dynamicStateH
const uint32_t samplerOffset) {
using GfxFamily = typename NEO::GfxFamilyMapper<gfxCoreFamily>::GfxFamily;
using SAMPLER_STATE = typename GfxFamily::SAMPLER_STATE;
using BINDING_TABLE_STATE = typename GfxFamily::BINDING_TABLE_STATE;
auto destSamplerState = ptrOffset(dynamicStateHeap, samplerOffset);
auto freeSpace = dynamicStateHeapSize - samplerOffset;