Implement clGetDeviceInfo(..., CL_DRIVER_VERSION, ...)
authorSimon Richter <Simon.Richter@hogyros.de>
Fri, 19 Apr 2013 11:39:12 +0000 (13:39 +0200)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Wed, 24 Apr 2013 08:41:02 +0000 (16:41 +0800)
commit0c8f6feab9de4313b5466edcbbee5f4a63de0917
treeeb9e90a7d56a0e5d4ac6296f185e5154b0ca8011
parent90a4f7b01a638933b4066c59bb729e06dd529b10
Implement clGetDeviceInfo(..., CL_DRIVER_VERSION, ...)

This returns the library major/minor version. As it does not follow the
usual naming scheme, the output code is duplicated.

Signed-off-by: Simon Richter <Simon.Richter@hogyros.de>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
src/cl_device_id.c
src/cl_device_id.h
src/cl_gt_device.h
src/cl_platform_id.h