summaryrefslogtreecommitdiff
path: root/src/cl_device_id.c
diff options
context:
space:
mode:
authorJunyan He <junyan.he@linux.intel.com>2014-06-13 15:07:52 +0800
committerZhigang Gong <zhigang.gong@intel.com>2014-06-13 16:44:55 +0800
commitd32fa1ac5e486db79ad4c9dd6f1861d13186ff3f (patch)
treeac1a7aee46e490716a31f7543aa4e59f88a91426 /src/cl_device_id.c
parent7508f4be683726f499870f98ac5c94041e0b7a79 (diff)
Add the support for 1D image from buffer.
Signed-off-by: Junyan He <junyan.he@linux.intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'src/cl_device_id.c')
-rw-r--r--src/cl_device_id.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cl_device_id.c b/src/cl_device_id.c
index 51d2e136..ee5120ff 100644
--- a/src/cl_device_id.c
+++ b/src/cl_device_id.c
@@ -378,6 +378,7 @@ cl_get_device_info(cl_device_id device,
DECL_FIELD(GLOBAL_MEM_CACHE_SIZE, global_mem_cache_size)
DECL_FIELD(GLOBAL_MEM_SIZE, global_mem_size)
DECL_FIELD(MAX_CONSTANT_BUFFER_SIZE, max_constant_buffer_size)
+ DECL_FIELD(IMAGE_MAX_BUFFER_SIZE, image_mem_size)
DECL_FIELD(MAX_CONSTANT_ARGS, max_constant_args)
DECL_FIELD(LOCAL_MEM_TYPE, local_mem_type)
DECL_FIELD(LOCAL_MEM_SIZE, local_mem_size)