mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Correct aub test for enqueueCopyImage
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
6799ea6119
commit
7d7efb5acd
@ -21,10 +21,6 @@ struct AUBCopyImage
|
|||||||
public ::testing::WithParamInterface<std::tuple<uint32_t, uint32_t>>,
|
public ::testing::WithParamInterface<std::tuple<uint32_t, uint32_t>>,
|
||||||
public ::testing::Test {
|
public ::testing::Test {
|
||||||
void SetUp() override {
|
void SetUp() override {
|
||||||
if (enableBlitter && !(HwInfoConfig::get(defaultHwInfo->platform.eProductFamily)->isBlitterForImagesSupported())) {
|
|
||||||
GTEST_SKIP();
|
|
||||||
}
|
|
||||||
|
|
||||||
ImageAubFixture::SetUp(enableBlitter);
|
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);
|
retVal = pCmdQ->enqueueReadImage(dstImage.get(), CL_FALSE, imgOrigin, imgRegion, 0, 0, dstOutMemory, nullptr, 0, nullptr, nullptr);
|
||||||
EXPECT_EQ(CL_SUCCESS, retVal);
|
EXPECT_EQ(CL_SUCCESS, retVal);
|
||||||
|
|
||||||
retVal = pCmdQ->flush();
|
retVal = pCmdQ->finish();
|
||||||
EXPECT_EQ(CL_SUCCESS, retVal);
|
EXPECT_EQ(CL_SUCCESS, retVal);
|
||||||
|
|
||||||
// Offset the source memory
|
// Offset the source memory
|
||||||
|
Reference in New Issue
Block a user