Extend batch buffer flattening in AubCSR to BatchedDispatch mode

- batch buffer flatening in batched mode
    - added MI_USER_INTERRUPT command
    - added GUC Work Queue Item

Change-Id: I35142da34b30d3006bb4ffc1521db7f6ebe68ebc
This commit is contained in:
Pawel Wilma
2018-04-04 11:34:46 +02:00
committed by sys_ocldev
parent 31157573ca
commit a0c044e6d2
41 changed files with 1188 additions and 247 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, Intel Corporation
* Copyright (c) 2017 - 2018, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@ -276,7 +276,7 @@ HWTEST_F(AUBSimpleArg, givenAubCommandStreamerReceiverWhenBatchBufferFlateningIs
DebugManagerStateRestore dbgRestore;
DebugManager.flags.FlattenBatchBufferForAUBDump.set(true);
pCmdQ->getDevice().getCommandStreamReceiver().overrideDispatchPolicy(CommandStreamReceiver::DispatchMode::ImmediateDispatch);
pCmdQ->getDevice().getCommandStreamReceiver().overrideDispatchPolicy(DispatchMode::ImmediateDispatch);
auto retVal = pCmdQ->enqueueKernel(
pKernel,

View File

@ -189,7 +189,7 @@ SKLTEST_F(AUBRunKernelIntegrateTest, ooqExecution) {
ASSERT_NE(nullptr, pCmdQ2);
auto &csr = pCmdQ2->getDevice().getCommandStreamReceiver();
csr.overrideDispatchPolicy(CommandStreamReceiver::DispatchMode::ImmediateDispatch);
csr.overrideDispatchPolicy(DispatchMode::ImmediateDispatch);
retVal = pCmdQ2->enqueueKernel(
pKernel0,