mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
refactor: remove not used command queue member
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
3555ee09af
commit
8a1dc7e8a9
@@ -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) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -1242,10 +1242,6 @@ HWTEST_F(CommandQueueHwTest, givenKernelSplitEnqueueReadBufferWhenBlockedThenEnq
|
||||
pCmdQ->isQueueBlocked();
|
||||
}
|
||||
|
||||
HWTEST_F(CommandQueueHwTest, givenDefaultHwCommandQueueThenCacheFlushAfterWalkerIsNotNeeded) {
|
||||
EXPECT_FALSE(pCmdQ->getRequiresCacheFlushAfterWalker());
|
||||
}
|
||||
|
||||
HWTEST_F(CommandQueueHwTest, givenSizeWhenForceStatelessIsCalledThenCorrectValueIsReturned) {
|
||||
|
||||
if (is32bit) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user