summaryrefslogtreecommitdiff
path: root/utests/compiler_subgroup_reduce.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Utest: Add test case for sub group short builtin functionsPan Xiuli2016-11-031-0/+66
| | | | | Signed-off-by: Pan Xiuli <xiuli.pan@intel.com> Reviewed-by: Yang Rong <rong.r.yang@intel.com>
* Utest: Add test for half type subgroup functionsPan Xiuli2016-08-311-12/+92
| | | | | | | | | Check if device support subgroup and half first, use build options to hide code for unsported device. V2: Fix half part test case for utest multithread. Signed-off-by: Pan Xiuli <xiuli.pan@intel.com> Reviewed-by: Yang Rong <rong.r.yang@intel.com>
* Utest: Add check for cl_intel_subgroups extension testsPan Xiuli2016-07-151-1/+35
| | | | | | | | | | These tests can only run with cl_intel_subgroups extension, add check before runing the tests. Also refine the call of the extension API with function pointer. V2: Use clGetExtensionFunctionAddress to get extension API function Signed-off-by: Pan Xiuli <xiuli.pan@intel.com> Reviewed-by: Yang Rong <rong.r.yang@intel.com>
* Utest: Porting to GCC6Pan Xiuli2016-06-171-0/+1
| | | | | | | | | | Due to the change of GCC 6 headers: https://gcc.gnu.org/gcc-6/porting_to.html std::abs now need cmath header. This patch fix some codes form OCL20 branch. Signed-off-by: Pan Xiuli <xiuli.pan@intel.com> Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
* Utest: Add test case for sub_group functionsPan Xiuli2016-06-131-0/+390
Long type need to be fixed before gen8, so hide them now. Signed-off-by: Pan Xiuli <xiuli.pan@intel.com> Reviewed-by: Yang Rong <rong.r.yang@intel.com>