summaryrefslogtreecommitdiff
path: root/utests/utest_helper.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add the test case for clGetProgramInfo APIJunyan He2013-06-261-3/+3
| | | | | Signed-off-by: Junyan He <junyan.he@linux.intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
* Rename Intel specific extension functions for ICDSimon Richter2013-04-221-7/+7
| | | | | | | | | The ICD extension specification requires that extension function names end in the vendor name to allow clGetExtensionFunctionAddress to switch between implementations. Signed-off-by: Simon Richter <Simon.Richter@hogyros.de> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
* utests: added cl_khr_gl_sharing related helper functions.Zhigang Gong2013-04-121-16/+144
| | | | | | | This is the preparation to add clgl interoperate test cases. Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com> Tested-by: Lu, Guanqun <guanqun.lu@intel.com>
* change the way clGetDeviceInfo() is called in cl_ocl_init()Lu Guanqun2013-04-101-9/+17
| | | | | | | | 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>
* change the way clGetPlatformInfo() is called in cl_ocl_init()Lu Guanqun2013-04-101-8/+18
| | | | | | | | 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>
* fix unused-result warningHomer Hsing2013-04-101-2/+5
| | | | | | | fix unused-result warning, because we didn't use the return value of fread Signed-off-by: Homer Hsing <homer.xing@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
* output file name and kernel name when cl_kernel_init() failsLu Guanqun2013-03-291-1/+2
| | | | | | | This would help ease the debugging process a lot. Signed-off-by: Lu Guanqun <guanqun.lu@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
* Fixed a bug in the flag register allocatorBenjamin Segovia2012-10-091-6/+35
| | | | | | Started to add more brutal test to improve functional regressions. Kind of needed for big modifications that are going to come Check switch case lowering functionality
* Made errors explicit while loading kernelsBenjamin Segovia2012-08-101-1/+2
|
* Cleaned up the code from previous unused dependencies Upate the READMEBenjamin Segovia2012-08-101-0/+1
|
* Made Mandelbrot work on Fulsim (SIMD8 only right now)Benjamin Segovia2012-08-101-0/+115
|
* Added several tests for unstructured branchesBenjamin Segovia2012-08-101-1/+1
|
* Added flat_address_space testsBenjamin Segovia2012-08-101-4/+4
|
* Finished the small test frameworkBenjamin Segovia2012-08-101-28/+21
|
* tests -> utestsBenjamin Segovia2012-08-101-0/+343