Correct aub test for enqueueCopyImage

Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
This commit is contained in:
Rafal Maziejuk
2022-02-18 02:25:32 +00:00
committed by Compute-Runtime-Automation
parent 6799ea6119
commit 7d7efb5acd

View File

@ -21,10 +21,6 @@ struct AUBCopyImage
public ::testing::WithParamInterface<std::tuple<uint32_t, uint32_t>>,
public ::testing::Test {
void SetUp() override {
if (enableBlitter && !(HwInfoConfig::get(defaultHwInfo->platform.eProductFamily)->isBlitterForImagesSupported())) {
GTEST_SKIP();
}
ImageAubFixture::SetUp(enableBlitter);
}
@ -122,7 +118,7 @@ struct AUBCopyImage
retVal = pCmdQ->enqueueReadImage(dstImage.get(), CL_FALSE, imgOrigin, imgRegion, 0, 0, dstOutMemory, nullptr, 0, nullptr, nullptr);
EXPECT_EQ(CL_SUCCESS, retVal);
retVal = pCmdQ->flush();
retVal = pCmdQ->finish();
EXPECT_EQ(CL_SUCCESS, retVal);
// Offset the source memory