[perf] add debug key and control variable to command list primary buffer

Related-To: NEO-7807

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2023-04-03 18:28:53 +00:00
committed by Compute-Runtime-Automation
parent f211d97363
commit a5179aae0b
13 changed files with 38 additions and 1 deletions

View File

@@ -98,6 +98,7 @@ ze_result_t CommandQueueImp::initialize(bool copyOnly, bool isInternal) {
auto &productHelper = rootDeviceEnvironment.getHelper<NEO::ProductHelper>();
this->doubleSbaWa = productHelper.isAdditionalStateBaseAddressWARequired(hwInfo);
this->cmdListHeapAddressModel = L0GfxCoreHelper::getHeapAddressModel(rootDeviceEnvironment);
this->dispatchCmdListBatchBufferAsPrimary = L0GfxCoreHelper::dispatchCmdListBatchBufferAsPrimary();
}
return returnValue;
}

View File

@@ -82,6 +82,7 @@ struct CommandQueue : _ze_command_queue_handle_t {
bool stateComputeModeTracking = false;
bool stateBaseAddressTracking = false;
bool doubleSbaWa = false;
bool dispatchCmdListBatchBufferAsPrimary = false;
};
using CommandQueueAllocatorFn = CommandQueue *(*)(Device *device, NEO::CommandStreamReceiver *csr,