Add multithread enqueue blit OOQ test

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2022-03-02 13:42:34 +00:00
committed by Compute-Runtime-Automation
parent b41f088fe9
commit 0919cad885
2 changed files with 76 additions and 2 deletions

View File

@@ -127,7 +127,6 @@ void CommandQueueHw<GfxFamily>::enqueueHandler(Surface **surfacesForResidency,
TagNodeBase *hwTimeStamps = nullptr;
CommandStreamReceiver &computeCommandStreamReceiver = getGpgpuCommandStreamReceiver();
auto commandStreamReceiverOwnership = computeCommandStreamReceiver.obtainUniqueOwnership();
EventBuilder eventBuilder;
setupEvent(eventBuilder, event, commandType);
@@ -137,6 +136,7 @@ void CommandQueueHw<GfxFamily>::enqueueHandler(Surface **surfacesForResidency,
std::unique_ptr<KernelOperation> blockedCommandsData;
std::unique_ptr<PrintfHandler> printfHandler;
TakeOwnershipWrapper<CommandQueueHw<GfxFamily>> queueOwnership(*this);
auto commandStreamReceiverOwnership = computeCommandStreamReceiver.obtainUniqueOwnership();
auto blockQueue = false;
auto taskLevel = 0u;