refactor: correct naming of allocation types

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2023-12-11 14:24:36 +00:00
committed by Compute-Runtime-Automation
parent eac3d2130d
commit b182917d9d
302 changed files with 2536 additions and 2536 deletions

View File

@@ -633,7 +633,7 @@ TEST_P(CreateImageNoHostPtr, whenImageIsCreatedThenItHasProperAccessAndCacheProp
ASSERT_NE(nullptr, image);
auto allocation = image->getGraphicsAllocation(context->getDevice(0)->getRootDeviceIndex());
EXPECT_TRUE(allocation->getAllocationType() == AllocationType::IMAGE);
EXPECT_TRUE(allocation->getAllocationType() == AllocationType::image);
auto isImageWritable = !(flags & (CL_MEM_READ_ONLY | CL_MEM_HOST_READ_ONLY | CL_MEM_HOST_NO_ACCESS));
EXPECT_EQ(isImageWritable, allocation->isMemObjectsAllocationWithWritableFlags());