[Beignet] [PATCH 7/9] runtime: add missing supported format image_1d_buffer.
xionghu.luo at intel.com
xionghu.luo at intel.com
Thu Nov 12 00:41:53 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 e5ee002..a56b596 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