Refine error check in clGetPlatformIDs() and clGetPlatformInfo()
authorRuiling Song <ruiling.song@intel.com>
Thu, 6 Jun 2013 07:07:16 +0000 (15:07 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Thu, 6 Jun 2013 09:38:16 +0000 (17:38 +0800)
commitc5c86ea3c2ee55157906d491dc3f2a003b66a609
treecf0969d06442abaf3c9c3e4a4d01b95769cb0435
parent040b87aa83244308fcdc51b1cfba29c04df4dcac
Refine error check in clGetPlatformIDs() and clGetPlatformInfo()

Signed-off-by: Ruiling Song <ruiling.song@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
src/cl_api.c
src/cl_khr_icd.c
src/cl_platform_id.c