mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
refactor: Remove unused bool
Signed-off-by: Morek, Szymon <szymon.morek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
864f42116c
commit
035bcee57a
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user