Skip to content

Commit 7d7efb5

Browse files
Correct aub test for enqueueCopyImage
Signed-off-by: Rafal Maziejuk <[email protected]>
1 parent 6799ea6 commit 7d7efb5

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

opencl/test/unit_test/aub_tests/command_queue/enqueue_copy_image_aub_tests.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ struct AUBCopyImage
2121
public ::testing::WithParamInterface<std::tuple<uint32_t, uint32_t>>,
2222
public ::testing::Test {
2323
void SetUp() override {
24-
if (enableBlitter && !(HwInfoConfig::get(defaultHwInfo->platform.eProductFamily)->isBlitterForImagesSupported())) {
25-
GTEST_SKIP();
26-
}
27-
2824
ImageAubFixture::SetUp(enableBlitter);
2925
}
3026

@@ -122,7 +118,7 @@ struct AUBCopyImage
122118
retVal = pCmdQ->enqueueReadImage(dstImage.get(), CL_FALSE, imgOrigin, imgRegion, 0, 0, dstOutMemory, nullptr, 0, nullptr, nullptr);
123119
EXPECT_EQ(CL_SUCCESS, retVal);
124120

125-
retVal = pCmdQ->flush();
121+
retVal = pCmdQ->finish();
126122
EXPECT_EQ(CL_SUCCESS, retVal);
127123

128124
// Offset the source memory

0 commit comments

Comments
 (0)