mirror of
https://github.com/intel/compute-runtime.git
synced 2025-11-15 10:14:56 +08:00
ULT renaming: map Image tests
Related-To: NEO-2236 Change-Id: I679281686bd31d61db12c22b4915cc52bf2697e7 Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
d4ab478bb6
commit
dbe3fef56b
@@ -53,7 +53,7 @@ struct EnqueueMapImageParamsTest : public EnqueueMapImageTest,
|
||||
public ::testing::WithParamInterface<uint32_t> {
|
||||
};
|
||||
|
||||
TEST_F(EnqueueMapImageTest, reuseMappedPtrForTiledImg) {
|
||||
TEST_F(EnqueueMapImageTest, GivenTiledImageWhenMappingImageThenPointerIsReused) {
|
||||
auto mapFlags = CL_MAP_READ;
|
||||
const size_t origin[3] = {0, 0, 0};
|
||||
const size_t region[3] = {1, 1, 1};
|
||||
@@ -241,7 +241,7 @@ HWTEST_F(EnqueueMapImageTest, givenTiledImageWhenMapImageIsCalledThenStorageIsSe
|
||||
mockImage.releaseAllocatedMapPtr();
|
||||
}
|
||||
|
||||
TEST_F(EnqueueMapImageTest, checkPointer) {
|
||||
TEST_F(EnqueueMapImageTest, WhenMappingImageThenCpuAndGpuAddressAreEqualWhenZeroCopyIsUsed) {
|
||||
auto mapFlags = CL_MAP_READ;
|
||||
const size_t origin[3] = {0, 0, 0};
|
||||
const size_t region[3] = {1, 1, 1};
|
||||
@@ -273,7 +273,7 @@ TEST_F(EnqueueMapImageTest, checkPointer) {
|
||||
EXPECT_EQ(imageSlicePitch, imageSlicePitchRef);
|
||||
}
|
||||
|
||||
TEST_F(EnqueueMapImageTest, checkRetVal) {
|
||||
TEST_F(EnqueueMapImageTest, GivenCmdqAndValidArgsWhenMappingImageThenSuccessIsReturned) {
|
||||
auto mapFlags = CL_MAP_READ;
|
||||
const size_t origin[3] = {0, 0, 0};
|
||||
const size_t region[3] = {1, 1, 1};
|
||||
@@ -435,7 +435,7 @@ HWTEST_F(EnqueueMapImageTest, givenReadOnlyMapWithOutEventWhenMappedThenSetEvent
|
||||
clReleaseEvent(unmapEventReturned);
|
||||
}
|
||||
|
||||
HWTEST_F(EnqueueMapImageTest, MapImageEventProperties) {
|
||||
HWTEST_F(EnqueueMapImageTest, GivenPtrToReturnEventWhenMappingImageThenEventIsNotNull) {
|
||||
if (!UnitTestHelper<FamilyType>::tiledImagesSupported) {
|
||||
GTEST_SKIP();
|
||||
}
|
||||
@@ -1025,7 +1025,7 @@ struct EnqueueMapImageTypeTest : public CommandEnqueueFixture,
|
||||
Image *image = nullptr;
|
||||
};
|
||||
|
||||
HWCMDTEST_F(IGFX_GEN8_CORE, EnqueueMapImageTypeTest, blockingEnqueueRequiresPCWithDCFlushSetAfterWalker) {
|
||||
HWCMDTEST_F(IGFX_GEN8_CORE, EnqueueMapImageTypeTest, GiveRequirementForPipeControlWorkaroundWhenMappingImageThenAdditionalPipeControlIsProgrammed) {
|
||||
typedef typename FamilyType::PIPE_CONTROL PIPE_CONTROL;
|
||||
|
||||
// Set taskCount to 1 to call finish on map operation
|
||||
|
||||
Reference in New Issue
Block a user