diff options
author | Luo Xionghu <xionghu.luo@intel.com> | 2015-11-26 14:00:02 +0800 |
---|---|---|
committer | Yang Rong <rong.r.yang@intel.com> | 2015-12-09 11:42:51 +0800 |
commit | ed3c8d856af7669c6ea7a6accf871093b6a7b71e (patch) | |
tree | 7b11dbc16acec03aec92f4f13a81fa15a3eebde6 /src | |
parent | 5c9bc99a58495039566f85bd612abc3b45d06389 (diff) |
runtime: add missing supported format image_1d_buffer.
Signed-off-by: Luo Xionghu <xionghu.luo@intel.com>
Reviewed-by: Yang Rong <rong.r.yang@intel.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/cl_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cl_api.c b/src/cl_api.c index 3baf38ac..9a0a54ab 100644 --- a/src/cl_api.c +++ b/src/cl_api.c @@ -687,6 +687,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)) { |