image_from_small_buffer_negative expecting incorrect error code
CL_INVALID_MEM_OBJECT is not a valid error return from clCreateImage.
Result should either be CL_INVALID_IMAGE_SIZE or CL_INVALID_IMAGE_FORMAT_DESCRIPTOR.
CL_INVALID_IMAGE_FORMAT_DESCRIPTOR if image_format is NULL if values specified in image_format are not valid if properties includes an AHardwareBuffer external memory handle and image_format is not NULL if an image is created from a buffer and the row pitch, or slice pitch, if the cl_ext_image_from_buffer extension is supported, or base address alignment do not follow the rules described for creating an image from a buffer
CL_INVALID_IMAGE_DESCRIPTOR if properties includes an AHardwareBuffer external memory handle and image_desc is not NULL
CL_INVALID_IMAGE_SIZE if the image dimensions specified in image_desc are not valid or exceed the maximum image dimensions described in the Device Queries table for all devices in context if the cl_ext_image_from_buffer extension is supported and an image is created from a buffer and the buffer passed in mem_object is too small to be used as a data store for the image, e.g. if its size is smaller than the value returned for CL_IMAGE_REQUIREMENTS_SIZE_EXT for the parameters used to create the image