change the way clGetDeviceInfo() is called in cl_ocl_init()
authorLu Guanqun <guanqun.lu@intel.com>
Mon, 25 Mar 2013 03:33:40 +0000 (11:33 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Wed, 10 Apr 2013 06:52:33 +0000 (14:52 +0800)
commit4f1e0994cb84f44dde0a184635c248816363b1eb
treed3713f9d7846de4567ef7841755fffbb78c35d9a
parent2490a59efb40cd47ccde9e56a063172857776626
change the way clGetDeviceInfo() is called in cl_ocl_init()

This works as a test case for the newly implemented clGetDeviceInfo()
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