refactor: remove not used command queue member

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk
2025-09-10 08:32:48 +00:00
committed by Compute-Runtime-Automation
parent 3555ee09af
commit 8a1dc7e8a9
4 changed files with 9 additions and 22 deletions

View File

@@ -1286,7 +1286,6 @@ void CommandQueue::processProperties(const cl_queue_properties *properties) {
}
}
}
requiresCacheFlushAfterWalker = device && (device->getDeviceInfo().parentDevice != nullptr);
}
void CommandQueue::overrideEngine(aub_stream::EngineType engineType, EngineUsage engineUsage) {

View File

@@ -354,10 +354,6 @@ class CommandQueue : public BaseObject<_cl_command_queue> {
cl_uint getQueueIndexWithinFamily() const { return queueIndexWithinFamily; }
bool isQueueFamilySelected() const { return queueFamilySelected; }
bool getRequiresCacheFlushAfterWalker() const {
return requiresCacheFlushAfterWalker;
}
template <typename PtrType>
static PtrType convertAddressWithOffsetToGpuVa(PtrType ptr, InternalMemoryType memoryType, GraphicsAllocation &allocation);
@@ -519,7 +515,6 @@ class CommandQueue : public BaseObject<_cl_command_queue> {
cl_command_queue_capabilities_intel queueCapabilities = CL_QUEUE_DEFAULT_CAPABILITIES_INTEL;
cl_uint queueFamilyIndex = 0;
cl_uint queueIndexWithinFamily = 0;
bool queueFamilySelected = false;
QueuePriority priority = QueuePriority::medium;
QueueThrottle throttle = QueueThrottle::MEDIUM;
@@ -527,13 +522,6 @@ class CommandQueue : public BaseObject<_cl_command_queue> {
uint64_t sliceCount = QueueSliceCount::defaultSliceCount;
std::array<CopyEngineState, bcsInfoMaskSize> bcsStates = {};
bool perfCountersEnabled = false;
bool isInternalUsage = false;
bool isCopyOnly = false;
bool bcsAllowed = false;
bool bcsInitialized = false;
bool bcsSplitInitialized = false;
BcsInfoMask splitEngines = EngineHelpers::oddLinkedCopyEnginesMask;
BcsInfoMask h2dEngines = NEO::EngineHelpers::h2dCopyEngineMask;
BcsInfoMask d2hEngines = NEO::EngineHelpers::d2hCopyEngineMask;
@@ -541,9 +529,6 @@ class CommandQueue : public BaseObject<_cl_command_queue> {
LinearStream *commandStream = nullptr;
bool isSpecialCommandQueue = false;
bool requiresCacheFlushAfterWalker = false;
std::unique_ptr<TimestampPacketContainer> deferredTimestampPackets;
std::unique_ptr<TimestampPacketContainer> deferredMultiRootSyncNodes;
std::unique_ptr<TimestampPacketContainer> timestampPacketContainer;
@@ -553,6 +538,15 @@ class CommandQueue : public BaseObject<_cl_command_queue> {
TimestampPacketContainer lastSignalledPacket;
};
std::array<BcsTimestampPacketContainers, bcsInfoMaskSize> bcsTimestampPacketContainers;
bool perfCountersEnabled = false;
bool isInternalUsage = false;
bool isCopyOnly = false;
bool bcsAllowed = false;
bool bcsInitialized = false;
bool isSpecialCommandQueue = false;
bool bcsSplitInitialized = false;
bool queueFamilySelected = false;
bool stallingCommandsOnNextFlushRequired = false;
bool dcFlushRequiredOnStallingCommandsOnNextFlush = false;
bool isCacheFlushOnNextBcsWriteRequired = false;

View File

@@ -1242,10 +1242,6 @@ HWTEST_F(CommandQueueHwTest, givenKernelSplitEnqueueReadBufferWhenBlockedThenEnq
pCmdQ->isQueueBlocked();
}
HWTEST_F(CommandQueueHwTest, givenDefaultHwCommandQueueThenCacheFlushAfterWalkerIsNotNeeded) {
EXPECT_FALSE(pCmdQ->getRequiresCacheFlushAfterWalker());
}
HWTEST_F(CommandQueueHwTest, givenSizeWhenForceStatelessIsCalledThenCorrectValueIsReturned) {
if (is32bit) {

View File

@@ -45,7 +45,6 @@ class MockCommandQueue : public CommandQueue {
using CommandQueue::queueFamilyIndex;
using CommandQueue::queueFamilySelected;
using CommandQueue::queueIndexWithinFamily;
using CommandQueue::requiresCacheFlushAfterWalker;
using CommandQueue::splitBarrierRequired;
using CommandQueue::throttle;
using CommandQueue::timestampPacketContainer;
@@ -295,7 +294,6 @@ class MockCommandQueueHw : public CommandQueueHw<GfxFamily> {
using BaseClass::prepareCsrDependency;
using BaseClass::processDispatchForKernels;
using BaseClass::relaxedOrderingForGpgpuAllowed;
using BaseClass::requiresCacheFlushAfterWalker;
using BaseClass::splitBarrierRequired;
using BaseClass::taskCount;
using BaseClass::throttle;