@@ -93,9 +93,6 @@ TEST_F(EnqueueMapImageTest, GivenTiledImageWhenMappingImageThenPointerIsReused)
9393}
9494
9595HWTEST_F (EnqueueMapImageTest, givenAllocatedMapPtrAndMapWithDifferentOriginIsCalledThenReturnDifferentPointers) {
96- if (!defaultHwInfo->capabilityTable .supportsImages ) {
97- GTEST_SKIP ();
98- }
9996 std::unique_ptr<Image> img (Image2dHelper<Image2dDefaults>::create (context));
10097 auto mapFlags = CL_MAP_READ;
10198 const size_t origin1[3 ] = {0 , 0 , 0 };
@@ -196,9 +193,6 @@ struct MockedImage : public ImageHw<GfxFamily> {
196193};
197194
198195HWTEST_F (EnqueueMapImageTest, givenTiledImageWhenMapImageIsCalledThenStorageIsSetWithImageMutexTaken) {
199- if (!defaultHwInfo->capabilityTable .supportsImages ) {
200- GTEST_SKIP ();
201- }
202196 auto imageFormat = image->getImageFormat ();
203197 auto imageDesc = image->getImageDesc ();
204198 auto graphicsAllocation = image->getGraphicsAllocation (pClDevice->getRootDeviceIndex ());
@@ -315,9 +309,6 @@ TEST_F(EnqueueMapImageTest, GivenCmdqAndValidArgsWhenMappingImageThenSuccessIsRe
315309}
316310
317311HWTEST_F (EnqueueMapImageTest, givenNonReadOnlyMapWithOutEventWhenMappedThenSetEventAndIncraseTaskCountFromWriteImage) {
318- if (!defaultHwInfo->capabilityTable .supportsImages ) {
319- GTEST_SKIP ();
320- }
321312 DebugManagerStateRestore dbgRestore;
322313 debugManager.flags .EnableAsyncEventsHandler .set (false );
323314 cl_event mapEventReturned = nullptr ;
@@ -403,9 +394,6 @@ HWTEST_F(EnqueueMapImageTest, givenNonReadOnlyMapWithOutEventWhenMappedThenSetEv
403394}
404395
405396HWTEST_F (EnqueueMapImageTest, givenReadOnlyMapWithOutEventWhenMappedThenSetEventAndDontIncraseTaskCountFromWriteImage) {
406- if (!defaultHwInfo->capabilityTable .supportsImages ) {
407- GTEST_SKIP ();
408- }
409397 DebugManagerStateRestore dbgRestore;
410398 debugManager.flags .EnableAsyncEventsHandler .set (false );
411399 cl_event mapEventReturned = nullptr ;
@@ -448,9 +436,6 @@ HWTEST_F(EnqueueMapImageTest, givenReadOnlyMapWithOutEventWhenMappedThenSetEvent
448436}
449437
450438HWTEST_F (EnqueueMapImageTest, GivenPtrToReturnEventWhenMappingImageThenEventIsNotNull) {
451- if (!defaultHwInfo->capabilityTable .supportsImages ) {
452- GTEST_SKIP ();
453- }
454439 cl_event eventReturned = nullptr ;
455440 auto mapFlags = CL_MAP_READ;
456441 const size_t origin[3 ] = {0 , 0 , 0 };
0 commit comments