Move core part of MemoryPropertiesHelpers to shared

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2021-10-06 17:00:24 +00:00
committed by Compute-Runtime-Automation
parent afa45bd9e7
commit 48f01f28f5
69 changed files with 454 additions and 411 deletions

View File

@ -40,7 +40,7 @@ struct AppendSurfaceStateParamsTest : public ::testing::Test {
flags, &imageFormat, context.getDevice(0)->getHardwareInfo().capabilityTable.supportsOcl21Features);
EXPECT_NE(nullptr, surfaceFormat);
image.reset(Image::create(
&context, MemoryPropertiesHelper::createMemoryProperties(flags, 0, 0, &context.getDevice(0)->getDevice()),
&context, ClMemoryPropertiesHelper::createMemoryProperties(flags, 0, 0, &context.getDevice(0)->getDevice()),
flags, 0, surfaceFormat, &imageDesc, nullptr, retVal));
}