refactor: Remove unused bool

Signed-off-by: Morek, Szymon <szymon.morek@intel.com>
This commit is contained in:
Morek, Szymon
2024-04-08 15:19:51 +00:00
committed by Compute-Runtime-Automation
parent 864f42116c
commit 035bcee57a
4 changed files with 0 additions and 6 deletions

View File

@@ -72,7 +72,6 @@ ze_result_t CommandQueueImp::destroy() {
ze_result_t CommandQueueImp::initialize(bool copyOnly, bool isInternal, bool immediateCmdListQueue) {
ze_result_t returnValue;
internalUsage = isInternal;
internalQueueForImmediateCommandList = immediateCmdListQueue;
returnValue = buffers.initialize(device, totalCmdBufferSize);
if (returnValue == ZE_RESULT_SUCCESS) {
NEO::GraphicsAllocation *bufferAllocation = buffers.getCurrentBufferAllocation();

View File

@@ -91,7 +91,6 @@ struct CommandQueue : _ze_command_queue_handle_t {
bool stateBaseAddressTracking = false;
bool doubleSbaWa = false;
bool dispatchCmdListBatchBufferAsPrimary = false;
bool internalQueueForImmediateCommandList = false;
bool heaplessModeEnabled = false;
bool heaplessStateInitEnabled = false;
};

View File

@@ -42,7 +42,6 @@ struct WhiteBox<::L0::CommandQueue> : public ::L0::CommandQueueImp {
using CommandQueue::frontEndStateTracking;
using CommandQueue::heaplessModeEnabled;
using CommandQueue::heaplessStateInitEnabled;
using CommandQueue::internalQueueForImmediateCommandList;
using CommandQueue::internalUsage;
using CommandQueue::partitionCount;
using CommandQueue::pipelineSelectStateTracking;
@@ -85,7 +84,6 @@ struct MockCommandQueueHw : public L0::CommandQueueHw<gfxCoreFamily> {
using L0::CommandQueue::frontEndStateTracking;
using L0::CommandQueue::heaplessModeEnabled;
using L0::CommandQueue::heaplessStateInitEnabled;
using L0::CommandQueue::internalQueueForImmediateCommandList;
using L0::CommandQueue::internalUsage;
using L0::CommandQueue::partitionCount;
using L0::CommandQueue::pipelineSelectStateTracking;

View File

@@ -351,8 +351,6 @@ HWTEST2_F(CommandQueueCommandsXeHpc, givenSplitBcsCopyWhenCreateImmediateThenSpl
std::unique_ptr<L0::CommandList> commandList(CommandList::createImmediate(productFamily, testL0Device.get(), &cmdQueueDesc, false, NEO::EngineGroupType::copy, returnValue));
ASSERT_NE(nullptr, commandList);
ASSERT_NE(static_cast<DeviceImp *>(testL0Device.get())->bcsSplit.cmdQs.size(), 0u);
auto bcsInternalQueue = static_cast<L0::ult::CommandQueue *>(static_cast<DeviceImp *>(testL0Device.get())->bcsSplit.cmdQs[0]);
EXPECT_TRUE(bcsInternalQueue->internalQueueForImmediateCommandList);
std::unique_ptr<L0::CommandList> commandList2(CommandList::createImmediate(productFamily, testL0Device.get(), &cmdQueueDesc, false, NEO::EngineGroupType::copy, returnValue));
ASSERT_NE(nullptr, commandList2);