diff options
author | Yang Rong <rong.r.yang@intel.com> | 2014-06-21 00:15:44 +0800 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@intel.com> | 2014-06-20 17:35:03 +0800 |
commit | a1f9bd02b1cc41fdded1a13c9077ba7d4971d9e6 (patch) | |
tree | f0c6c0da9ac0640021e51ab24f5891db9bd251ea /src/cl_device_id.h | |
parent | 02cba1c31588ecc6c7e8b78b9a06417215d8011f (diff) |
Add some API's OpenCL 1.2 parameter support.
Support CL_PROGRAM_KERNEL_NAMES and CL_PROGRAM_NUM_KERNELS in API clGetProgramInfo,
and CL_DOUBLE_FP_CONFIG in API clGetDeviceInfo.
Also fix a bug of CL_MEM_HOST_PTR in API clGetMemObjectInfo.
v2:
also fix the utest get_mem_info.
Signed-off-by: Yang Rong <rong.r.yang@intel.com>
Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'src/cl_device_id.h')
-rw-r--r-- | src/cl_device_id.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cl_device_id.h b/src/cl_device_id.h index 769bfd20..5ce3cfb8 100644 --- a/src/cl_device_id.h +++ b/src/cl_device_id.h @@ -62,6 +62,7 @@ struct _cl_device_id { cl_uint mem_base_addr_align; cl_uint min_data_type_align_size; cl_device_fp_config single_fp_config; + cl_device_fp_config double_fp_config; cl_device_mem_cache_type global_mem_cache_type; cl_uint global_mem_cache_line_size; cl_ulong global_mem_cache_size; |