refactor: remove not needed code

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2025-10-07 11:27:48 +00:00
committed by Compute-Runtime-Automation
parent 17199556ca
commit f3e4ba9ff6
30 changed files with 53 additions and 2218 deletions

View File

@@ -87,8 +87,4 @@ CommandStreamReceiver *AUBCommandStreamReceiver::create(const std::string &baseN
namespace AubMemDump {
using CmdServicesMemTraceMemoryCompare = AubMemDump::CmdServicesMemTraceMemoryCompare;
using CmdServicesMemTraceMemoryWrite = AubMemDump::CmdServicesMemTraceMemoryWrite;
using CmdServicesMemTraceRegisterPoll = AubMemDump::CmdServicesMemTraceRegisterPoll;
using CmdServicesMemTraceRegisterWrite = AubMemDump::CmdServicesMemTraceRegisterWrite;
using CmdServicesMemTraceVersion = AubMemDump::CmdServicesMemTraceVersion;
} // namespace AubMemDump

View File

@@ -93,8 +93,6 @@ class AUBCommandStreamReceiverHw : public CommandStreamReceiverSimulatedHw<GfxFa
return CommandStreamReceiverType::aub;
}
int getAddressSpaceFromPTEBits(uint64_t entryBits) const;
std::mutex mutex;
[[nodiscard]] MOCKABLE_VIRTUAL std::unique_lock<std::mutex> lockStream() {

View File

@@ -24,12 +24,4 @@ uint32_t AUBCommandStreamReceiverHw<GfxFamily>::getGUCWorkQueueItemHeader() {
return 0x00030001;
}
template <typename GfxFamily>
int AUBCommandStreamReceiverHw<GfxFamily>::getAddressSpaceFromPTEBits(uint64_t entryBits) const {
if (entryBits & BIT(PageTableEntry::localMemoryBit)) {
return AubMemDump::AddressSpaceValues::TraceLocal;
}
return AubMemDump::AddressSpaceValues::TraceNonlocal;
}
} // namespace NEO

View File

@@ -7,6 +7,7 @@
#include "shared/source/command_stream/command_stream_receiver.h"
#include "shared/source/aub_mem_dump/aub_header.h"
#include "shared/source/command_container/implicit_scaling.h"
#include "shared/source/command_stream/aub_subcapture_status.h"
#include "shared/source/command_stream/scratch_space_controller.h"
@@ -42,8 +43,6 @@
#include "shared/source/utilities/tag_allocator.h"
#include "shared/source/utilities/wait_util.h"
#include "aub_services.h"
#include <array>
#include <iostream>

View File

@@ -67,25 +67,6 @@ class CommandStreamReceiverSimulatedHw : public CommandStreamReceiverSimulatedCo
return {};
}
int getAddressSpace(int hint) {
bool traceLocalAllowed = false;
switch (hint) {
case AubMemDump::DataTypeHintValues::TraceLogicalRingContextRcs:
case AubMemDump::DataTypeHintValues::TraceLogicalRingContextCcs:
case AubMemDump::DataTypeHintValues::TraceLogicalRingContextBcs:
case AubMemDump::DataTypeHintValues::TraceLogicalRingContextVcs:
case AubMemDump::DataTypeHintValues::TraceLogicalRingContextVecs:
case AubMemDump::DataTypeHintValues::TraceCommandBuffer:
traceLocalAllowed = true;
break;
default:
break;
}
if ((traceLocalAllowed && this->localMemoryEnabled) || debugManager.flags.AUBDumpForceAllToLocalMemory.get()) {
return AubMemDump::AddressSpaceValues::TraceLocal;
}
return AubMemDump::AddressSpaceValues::TraceNonlocal;
}
PhysicalAddressAllocator *createPhysicalAddressAllocator(const HardwareInfo *hwInfo, const ReleaseHelper *releaseHelper) {
const auto bankSize = AubHelper::getPerTileLocalMemorySize(hwInfo, releaseHelper);
const auto devicesCount = GfxCoreHelper::getSubDevicesCount(hwInfo);