Program Semaphore to keep dependency on previous enqueue

Change-Id: I511f39811769f1add179ea5d9cb331fa9c5ccec2
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz
2018-09-11 09:43:06 +02:00
committed by sys_ocldev
parent 581805cc88
commit 2b89486fb1
8 changed files with 132 additions and 19 deletions

View File

@@ -65,6 +65,7 @@ HWTEST_P(ParentKernelDispatchTest, givenParentKernelWhenQueueIsNotBlockedThenDev
nullptr,
nullptr,
nullptr,
nullptr,
pDevice->getPreemptionMode(),
false);
@@ -121,6 +122,7 @@ HWTEST_P(ParentKernelDispatchTest, givenParentKernelWhenQueueIsNotBlockedThenDef
nullptr,
nullptr,
nullptr,
nullptr,
pDevice->getPreemptionMode(),
false);
@@ -147,6 +149,7 @@ HWTEST_P(ParentKernelDispatchTest, givenParentKernelWhenQueueIsNotBlockedThenSSH
nullptr,
nullptr,
nullptr,
nullptr,
pDevice->getPreemptionMode(),
false);
@@ -183,6 +186,7 @@ HWTEST_P(ParentKernelDispatchTest, givenParentKernelWhenQueueIsBlockedThenSSHSiz
nullptr,
nullptr,
nullptr,
nullptr,
pDevice->getPreemptionMode(),
true);
ASSERT_NE(nullptr, blockedCommandsData);
@@ -281,6 +285,7 @@ HWTEST_F(MockParentKernelDispatch, GivenBlockedQueueWhenParentKernelIsDispatched
nullptr,
nullptr,
nullptr,
nullptr,
pDevice->getPreemptionMode(),
true);
@@ -315,6 +320,7 @@ HWCMDTEST_F(IGFX_GEN8_CORE, MockParentKernelDispatch, GivenParentKernelWhenDispa
nullptr,
nullptr,
nullptr,
nullptr,
pDevice->getPreemptionMode(),
false);
@@ -372,6 +378,7 @@ HWTEST_F(MockParentKernelDispatch, GivenUsedSSHHeapWhenParentKernelIsDispatchedT
nullptr,
nullptr,
nullptr,
nullptr,
pDevice->getPreemptionMode(),
false);
@@ -408,6 +415,7 @@ HWTEST_F(MockParentKernelDispatch, GivenNotUsedSSHHeapWhenParentKernelIsDispatch
nullptr,
nullptr,
nullptr,
nullptr,
pDevice->getPreemptionMode(),
false);

View File

@@ -450,6 +450,7 @@ HWCMDTEST_F(IGFX_GEN8_CORE, ParentKernelCommandQueueFixture, givenBlockedCommand
nullptr,
nullptr,
nullptr,
nullptr,
device->getPreemptionMode(),
true);