ULT renaming: Command Queue HW tests
Related-To: NEO-2236 Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
This commit is contained in:
parent
2089258d51
commit
0f6f92b704
|
@ -332,7 +332,7 @@ HWTEST_F(CommandQueueHwTest, GivenEventWhenEnqueuingBlockedMapUnmapOperationThen
|
||||||
buffer->decRefInternal();
|
buffer->decRefInternal();
|
||||||
}
|
}
|
||||||
|
|
||||||
HWTEST_F(CommandQueueHwTest, GivenNonEmptyQueueOnBlockingMapBufferWillWaitForPrecedingCommandsToComplete) {
|
HWTEST_F(CommandQueueHwTest, GivenNonEmptyQueueOnBlockingWhenMappingBufferThenWillWaitForPrecedingCommandsToComplete) {
|
||||||
struct MockCmdQ : CommandQueueHw<FamilyType> {
|
struct MockCmdQ : CommandQueueHw<FamilyType> {
|
||||||
MockCmdQ(Context *context, ClDevice *device)
|
MockCmdQ(Context *context, ClDevice *device)
|
||||||
: CommandQueueHw<FamilyType>(context, device, 0, false) {
|
: CommandQueueHw<FamilyType>(context, device, 0, false) {
|
||||||
|
@ -371,7 +371,7 @@ HWTEST_F(CommandQueueHwTest, GivenNonEmptyQueueOnBlockingMapBufferWillWaitForPre
|
||||||
clReleaseEvent(gatingEvent);
|
clReleaseEvent(gatingEvent);
|
||||||
}
|
}
|
||||||
|
|
||||||
HWTEST_F(CommandQueueHwTest, GivenEventsWaitlistOnBlockingMapBufferWillWaitForEvents) {
|
HWTEST_F(CommandQueueHwTest, GivenEventsWaitlistOnBlockingWhenMappingBufferThenWillWaitForEvents) {
|
||||||
struct MockEvent : UserEvent {
|
struct MockEvent : UserEvent {
|
||||||
MockEvent(Context *ctx, uint32_t updateCountBeforeCompleted)
|
MockEvent(Context *ctx, uint32_t updateCountBeforeCompleted)
|
||||||
: UserEvent(ctx),
|
: UserEvent(ctx),
|
||||||
|
@ -975,7 +975,7 @@ HWTEST_F(BuiltinParamsCommandQueueHwTests, givenEnqueueReadWriteBufferRectCallWh
|
||||||
EXPECT_EQ(offset, builtinParams.dstOffset);
|
EXPECT_EQ(offset, builtinParams.dstOffset);
|
||||||
EXPECT_EQ(ptrOffset, builtinParams.srcOffset.x);
|
EXPECT_EQ(ptrOffset, builtinParams.srcOffset.x);
|
||||||
}
|
}
|
||||||
HWTEST_F(CommandQueueHwTest, givenCommandQueueThatIsBlockedAndUsesCpuCopyWhenEventIsReturnedItIsNotReady) {
|
HWTEST_F(CommandQueueHwTest, givenCommandQueueThatIsBlockedAndUsesCpuCopyWhenEventIsReturnedThenItIsNotReady) {
|
||||||
CommandQueueHw<FamilyType> *cmdQHw = static_cast<CommandQueueHw<FamilyType> *>(this->pCmdQ);
|
CommandQueueHw<FamilyType> *cmdQHw = static_cast<CommandQueueHw<FamilyType> *>(this->pCmdQ);
|
||||||
MockBuffer buffer;
|
MockBuffer buffer;
|
||||||
cl_event returnEvent = nullptr;
|
cl_event returnEvent = nullptr;
|
||||||
|
|
Loading…
Reference in New Issue