Correct aub test

Change-Id: I8610cb92ed0fb6b657a8902deb8e02d6c9d3cd4f
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
Filip Hazubski
2020-05-14 17:33:47 +02:00
committed by sys_ocldev
parent 786cd28f2b
commit d4c14dd9d0

View File

@ -992,7 +992,7 @@ HWTEST2_F(AUBBindlessKernel, DISABLED_givenBindlessCopyImageKernelWhenEnqueuedTh
auto retVal = CL_INVALID_VALUE;
cl_mem_flags flags = CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR;
auto surfaceFormat = Image::getSurfaceFormatFromTable(flags, &imageFormat, device->getHardwareInfo().capabilityTable.clVersionSupport);
auto surfaceFormat = Image::getSurfaceFormatFromTable(flags, &imageFormat, device->getHardwareInfo().capabilityTable.supportsOcl21Features);
auto image = std::unique_ptr<Image>(Image::create(
contextCl,
MemoryPropertiesHelper::createMemoryProperties(flags, 0, 0),