@@ -93,9 +93,6 @@ TEST_F(EnqueueMapImageTest, GivenTiledImageWhenMappingImageThenPointerIsReused)
93
93
}
94
94
95
95
HWTEST_F (EnqueueMapImageTest, givenAllocatedMapPtrAndMapWithDifferentOriginIsCalledThenReturnDifferentPointers) {
96
- if (!defaultHwInfo->capabilityTable .supportsImages ) {
97
- GTEST_SKIP ();
98
- }
99
96
std::unique_ptr<Image> img (Image2dHelper<Image2dDefaults>::create (context));
100
97
auto mapFlags = CL_MAP_READ;
101
98
const size_t origin1[3 ] = {0 , 0 , 0 };
@@ -196,9 +193,6 @@ struct MockedImage : public ImageHw<GfxFamily> {
196
193
};
197
194
198
195
HWTEST_F (EnqueueMapImageTest, givenTiledImageWhenMapImageIsCalledThenStorageIsSetWithImageMutexTaken) {
199
- if (!defaultHwInfo->capabilityTable .supportsImages ) {
200
- GTEST_SKIP ();
201
- }
202
196
auto imageFormat = image->getImageFormat ();
203
197
auto imageDesc = image->getImageDesc ();
204
198
auto graphicsAllocation = image->getGraphicsAllocation (pClDevice->getRootDeviceIndex ());
@@ -315,9 +309,6 @@ TEST_F(EnqueueMapImageTest, GivenCmdqAndValidArgsWhenMappingImageThenSuccessIsRe
315
309
}
316
310
317
311
HWTEST_F (EnqueueMapImageTest, givenNonReadOnlyMapWithOutEventWhenMappedThenSetEventAndIncraseTaskCountFromWriteImage) {
318
- if (!defaultHwInfo->capabilityTable .supportsImages ) {
319
- GTEST_SKIP ();
320
- }
321
312
DebugManagerStateRestore dbgRestore;
322
313
debugManager.flags .EnableAsyncEventsHandler .set (false );
323
314
cl_event mapEventReturned = nullptr ;
@@ -403,9 +394,6 @@ HWTEST_F(EnqueueMapImageTest, givenNonReadOnlyMapWithOutEventWhenMappedThenSetEv
403
394
}
404
395
405
396
HWTEST_F (EnqueueMapImageTest, givenReadOnlyMapWithOutEventWhenMappedThenSetEventAndDontIncraseTaskCountFromWriteImage) {
406
- if (!defaultHwInfo->capabilityTable .supportsImages ) {
407
- GTEST_SKIP ();
408
- }
409
397
DebugManagerStateRestore dbgRestore;
410
398
debugManager.flags .EnableAsyncEventsHandler .set (false );
411
399
cl_event mapEventReturned = nullptr ;
@@ -448,9 +436,6 @@ HWTEST_F(EnqueueMapImageTest, givenReadOnlyMapWithOutEventWhenMappedThenSetEvent
448
436
}
449
437
450
438
HWTEST_F (EnqueueMapImageTest, GivenPtrToReturnEventWhenMappingImageThenEventIsNotNull) {
451
- if (!defaultHwInfo->capabilityTable .supportsImages ) {
452
- GTEST_SKIP ();
453
- }
454
439
cl_event eventReturned = nullptr ;
455
440
auto mapFlags = CL_MAP_READ;
456
441
const size_t origin[3 ] = {0 , 0 , 0 };
0 commit comments