[Beignet] [Patch v2 07/10] runtime: add missing supported format image_1d_buffer.
xionghu.luo at intel.com
xionghu.luo at intel.com
Wed Nov 25 22:00:02 PST 2015
From: Luo Xionghu <xionghu.luo at intel.com>
Signed-off-by: Luo Xionghu <xionghu.luo at intel.com>
---
src/cl_api.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/cl_api.c b/src/cl_api.c
index 8387a84..a87f6a9 100644
--- a/src/cl_api.c
+++ b/src/cl_api.c
@@ -682,6 +682,7 @@ clGetSupportedImageFormats(cl_context ctx,
}
if (UNLIKELY(image_type != CL_MEM_OBJECT_IMAGE1D &&
image_type != CL_MEM_OBJECT_IMAGE1D_ARRAY &&
+ image_type != CL_MEM_OBJECT_IMAGE1D_BUFFER &&
image_type != CL_MEM_OBJECT_IMAGE2D_ARRAY &&
image_type != CL_MEM_OBJECT_IMAGE2D &&
image_type != CL_MEM_OBJECT_IMAGE3D)) {
--
1.9.1
More information about the Beignet
mailing list