Correct ult
Correctly initialize MemoryProperties. Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
parent
451f1e7e0d
commit
7e5e1690cd
|
@ -56,10 +56,11 @@ GEN11TEST_F(GEN11AUBParentKernelFixture, EnqueueParentKernel) {
|
|||
desc.image_slice_pitch = 0;
|
||||
// clang-format on
|
||||
|
||||
auto memoryProperties = MemoryPropertiesHelper::createMemoryProperties(0, 0, 0, &pClDevice->getDevice());
|
||||
auto surfaceFormat = Image::getSurfaceFormatFromTable(0, &imageFormat, context->getDevice(0)->getHardwareInfo().capabilityTable.supportsOcl21Features);
|
||||
Image *image = Image::create(
|
||||
pContext,
|
||||
{},
|
||||
memoryProperties,
|
||||
0,
|
||||
0,
|
||||
surfaceFormat,
|
||||
|
|
Loading…
Reference in New Issue