SWDEV-390565 - ocltst test failing
part 2 of the fix Change-Id: I4ff2cf0f82b5cf57c7ee51a60bbac770a605a837
This commit is contained in:
zatwierdzone przez
AlexBin Xie
rodzic
475f80ee0e
commit
42f8b9183d
@@ -130,7 +130,7 @@ void OCLPerfMapImageReadSpeed::open(unsigned int test, char *units,
|
||||
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_) {
|
||||
|
||||
Reference in New Issue
Block a user