change the way clGetPlatformInfo() is called in cl_ocl_init()
authorLu Guanqun <guanqun.lu@intel.com>
Mon, 25 Mar 2013 03:19:05 +0000 (11:19 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Wed, 10 Apr 2013 06:52:33 +0000 (14:52 +0800)
commit18e037a1712dca6415fb34d02914e256e3b3523d
treebe677ed5fd4cc1a55b9a02a8754ff6eefdaad1fb
parent7717541b658b90746c3e82128b13deac299d991b
change the way clGetPlatformInfo() is called in cl_ocl_init()

This works as a test case for the newly implemented clGetPlatformInfo()
behaviour: pass NULL to param_value and it should return the string size.

Signed-off-by: Lu Guanqun <guanqun.lu@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
utests/utest_helper.cpp