[Beignet] [PATCH V2] Utest: Remove scan exclusive tests of char/short

grigore.lupescu at intel.com grigore.lupescu at intel.com
Wed Apr 13 08:19:23 UTC 2016


From: Grigore Lupescu <grigore.lupescu at intel.com>

Not required by spec, problems due to min/max

Signed-off-by: Grigore Lupescu <grigore.lupescu at intel.com>
---
 utests/compiler_workgroup_scan_exclusive.cpp | 36 ----------------------------
 1 file changed, 36 deletions(-)

diff --git a/utests/compiler_workgroup_scan_exclusive.cpp b/utests/compiler_workgroup_scan_exclusive.cpp
index 7fecb70..c44c098 100644
--- a/utests/compiler_workgroup_scan_exclusive.cpp
+++ b/utests/compiler_workgroup_scan_exclusive.cpp
@@ -265,15 +265,6 @@ MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_scan_exclusive_add_float);
 /*
  * Workgroup scan_exclusive max utest functions
  */
-void compiler_workgroup_scan_exclusive_max_char(void)
-{
-  cl_char *input = NULL;
-  cl_char *expected = NULL;
-  OCL_CREATE_KERNEL_FROM_FILE("compiler_workgroup_scan_exclusive",
-                              "compiler_workgroup_scan_exclusive_max_char");
-  workgroup_generic(WG_SCAN_EXCLUSIVE_MAX, input, expected);
-}
-MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_scan_exclusive_max_char);
 void compiler_workgroup_scan_exclusive_max_uchar(void)
 {
   cl_uchar *input = NULL;
@@ -283,15 +274,6 @@ void compiler_workgroup_scan_exclusive_max_uchar(void)
   workgroup_generic(WG_SCAN_EXCLUSIVE_MAX, input, expected);
 }
 MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_scan_exclusive_max_uchar);
-void compiler_workgroup_scan_exclusive_max_short(void)
-{
-  cl_short *input = NULL;
-  cl_short *expected = NULL;
-  OCL_CREATE_KERNEL_FROM_FILE("compiler_workgroup_scan_exclusive",
-                              "compiler_workgroup_scan_exclusive_max_short");
-  workgroup_generic(WG_SCAN_EXCLUSIVE_MAX, input, expected);
-}
-MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_scan_exclusive_max_short);
 void compiler_workgroup_scan_exclusive_max_ushort(void)
 {
   cl_ushort *input = NULL;
@@ -350,15 +332,6 @@ MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_scan_exclusive_max_float);
 /*
  * Workgroup scan_exclusive min utest functions
  */
-void compiler_workgroup_scan_exclusive_min_char(void)
-{
-  cl_char *input = NULL;
-  cl_char *expected = NULL;
-  OCL_CREATE_KERNEL_FROM_FILE("compiler_workgroup_scan_exclusive",
-                              "compiler_workgroup_scan_exclusive_min_char");
-  workgroup_generic(WG_SCAN_EXCLUSIVE_MIN, input, expected);
-}
-MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_scan_exclusive_min_char);
 void compiler_workgroup_scan_exclusive_min_uchar(void)
 {
   cl_uchar *input = NULL;
@@ -368,15 +341,6 @@ void compiler_workgroup_scan_exclusive_min_uchar(void)
   workgroup_generic(WG_SCAN_EXCLUSIVE_MIN, input, expected);
 }
 MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_scan_exclusive_min_uchar);
-void compiler_workgroup_scan_exclusive_min_short(void)
-{
-  cl_short *input = NULL;
-  cl_short *expected = NULL;
-  OCL_CREATE_KERNEL_FROM_FILE("compiler_workgroup_scan_exclusive",
-                              "compiler_workgroup_scan_exclusive_min_short");
-  workgroup_generic(WG_SCAN_EXCLUSIVE_MIN, input, expected);
-}
-MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_scan_exclusive_min_short);
 void compiler_workgroup_scan_exclusive_min_ushort(void)
 {
   cl_ushort *input = NULL;
-- 
2.5.0



More information about the Beignet mailing list