SWDEV-390565 - ocltst test failing

part 2 of the fix

Change-Id: I4ff2cf0f82b5cf57c7ee51a60bbac770a605a837
这个提交包含在:
Alex Xie
2023-04-17 15:19:57 -04:00
提交者 AlexBin Xie
父节点 475f80ee0e
当前提交 42f8b9183d
共修改 11 个文件,包含 13 行新增和 13 行删除
@@ -131,7 +131,7 @@ void OCLPerfMapImageWriteSpeed::open(unsigned int test, char *units,
CHECK_RESULT(_deviceId >= num_devices, "Requested deviceID not available");
device = devices[_deviceId];
size_t size;
bool imageSupport_ = false;
cl_bool imageSupport_ = false;
error_ = _wrapper->clGetDeviceInfo(device, CL_DEVICE_IMAGE_SUPPORT,
sizeof(imageSupport_), &imageSupport_, &size);
if (!imageSupport_) {