[Beignet] [PATCH 2/2] Utest: Remove some unsuport work group tests

Xiuli Pan xiuli.pan at intel.com
Mon May 16 01:42:11 UTC 2016


From: Pan Xiuli <xiuli.pan at intel.com>

HSW and IVB does not support long type, now hide these tests.

Signed-off-by: Pan Xiuli <xiuli.pan at intel.com>
---
 utests/compiler_workgroup_broadcast.cpp      |  6 +++---
 utests/compiler_workgroup_reduce.cpp         | 12 ++++++------
 utests/compiler_workgroup_scan_exclusive.cpp | 12 ++++++------
 utests/compiler_workgroup_scan_inclusive.cpp | 12 ++++++------
 4 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/utests/compiler_workgroup_broadcast.cpp b/utests/compiler_workgroup_broadcast.cpp
index b57b859..fd2228c 100644
--- a/utests/compiler_workgroup_broadcast.cpp
+++ b/utests/compiler_workgroup_broadcast.cpp
@@ -258,7 +258,7 @@ void compiler_workgroup_broadcast_1D_long(void)
                               "compiler_workgroup_broadcast_1D_long");
   workgroup_generic(WG_BROADCAST_1D, input, expected);
 }
-MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_broadcast_1D_long);
+MAKE_UTEST_FROM_FUNCTION_WITH_ISSUE(compiler_workgroup_broadcast_1D_long);
 
 /*
  * Workgroup broadcast 2D functions
@@ -281,7 +281,7 @@ void compiler_workgroup_broadcast_2D_long(void)
                               "compiler_workgroup_broadcast_2D_long");
   workgroup_generic(WG_BROADCAST_2D, input, expected);
 }
-MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_broadcast_2D_long);
+MAKE_UTEST_FROM_FUNCTION_WITH_ISSUE(compiler_workgroup_broadcast_2D_long);
 
 
 /*
@@ -305,4 +305,4 @@ void compiler_workgroup_broadcast_3D_long(void)
                               "compiler_workgroup_broadcast_3D_long");
   workgroup_generic(WG_BROADCAST_3D, input, expected);
 }
-MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_broadcast_3D_long);
+MAKE_UTEST_FROM_FUNCTION_WITH_ISSUE(compiler_workgroup_broadcast_3D_long);
diff --git a/utests/compiler_workgroup_reduce.cpp b/utests/compiler_workgroup_reduce.cpp
index 4003bf8..2b5d176 100644
--- a/utests/compiler_workgroup_reduce.cpp
+++ b/utests/compiler_workgroup_reduce.cpp
@@ -263,7 +263,7 @@ void compiler_workgroup_reduce_add_long(void)
                               "compiler_workgroup_reduce_add_long");
   workgroup_generic(WG_REDUCE_ADD, input, expected);
 }
-MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_reduce_add_long);
+MAKE_UTEST_FROM_FUNCTION_WITH_ISSUE(compiler_workgroup_reduce_add_long);
 void compiler_workgroup_reduce_add_ulong(void)
 {
   cl_ulong *input = NULL;
@@ -272,7 +272,7 @@ void compiler_workgroup_reduce_add_ulong(void)
                               "compiler_workgroup_reduce_add_ulong");
   workgroup_generic(WG_REDUCE_ADD, input, expected);
 }
-MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_reduce_add_ulong);
+MAKE_UTEST_FROM_FUNCTION_WITH_ISSUE(compiler_workgroup_reduce_add_ulong);
 void compiler_workgroup_reduce_add_float(void)
 {
   cl_float *input = NULL;
@@ -312,7 +312,7 @@ void compiler_workgroup_reduce_max_long(void)
                               "compiler_workgroup_reduce_max_long");
   workgroup_generic(WG_REDUCE_MAX, input, expected);
 }
-MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_reduce_max_long);
+MAKE_UTEST_FROM_FUNCTION_WITH_ISSUE(compiler_workgroup_reduce_max_long);
 void compiler_workgroup_reduce_max_ulong(void)
 {
   cl_ulong *input = NULL;
@@ -321,7 +321,7 @@ void compiler_workgroup_reduce_max_ulong(void)
                               "compiler_workgroup_reduce_max_ulong");
   workgroup_generic(WG_REDUCE_MAX, input, expected);
 }
-MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_reduce_max_ulong);
+MAKE_UTEST_FROM_FUNCTION_WITH_ISSUE(compiler_workgroup_reduce_max_ulong);
 void compiler_workgroup_reduce_max_float(void)
 {
   cl_float *input = NULL;
@@ -361,7 +361,7 @@ void compiler_workgroup_reduce_min_long(void)
                               "compiler_workgroup_reduce_min_long");
   workgroup_generic(WG_REDUCE_MIN, input, expected);
 }
-MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_reduce_min_long);
+MAKE_UTEST_FROM_FUNCTION_WITH_ISSUE(compiler_workgroup_reduce_min_long);
 void compiler_workgroup_reduce_min_ulong(void)
 {
   cl_ulong *input = NULL;
@@ -370,7 +370,7 @@ void compiler_workgroup_reduce_min_ulong(void)
                               "compiler_workgroup_reduce_min_ulong");
   workgroup_generic(WG_REDUCE_MIN, input, expected);
 }
-MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_reduce_min_ulong);
+MAKE_UTEST_FROM_FUNCTION_WITH_ISSUE(compiler_workgroup_reduce_min_ulong);
 void compiler_workgroup_reduce_min_float(void)
 {
   cl_float *input = NULL;
diff --git a/utests/compiler_workgroup_scan_exclusive.cpp b/utests/compiler_workgroup_scan_exclusive.cpp
index 37c38dc..c27a3cb 100644
--- a/utests/compiler_workgroup_scan_exclusive.cpp
+++ b/utests/compiler_workgroup_scan_exclusive.cpp
@@ -223,7 +223,7 @@ void compiler_workgroup_scan_exclusive_add_long(void)
                               "compiler_workgroup_scan_exclusive_add_long");
   workgroup_generic(WG_SCAN_EXCLUSIVE_ADD, input, expected);
 }
-MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_scan_exclusive_add_long);
+MAKE_UTEST_FROM_FUNCTION_WITH_ISSUE(compiler_workgroup_scan_exclusive_add_long);
 void compiler_workgroup_scan_exclusive_add_ulong(void)
 {
   cl_ulong *input = NULL;
@@ -232,7 +232,7 @@ void compiler_workgroup_scan_exclusive_add_ulong(void)
                               "compiler_workgroup_scan_exclusive_add_ulong");
   workgroup_generic(WG_SCAN_EXCLUSIVE_ADD, input, expected);
 }
-MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_scan_exclusive_add_ulong);
+MAKE_UTEST_FROM_FUNCTION_WITH_ISSUE(compiler_workgroup_scan_exclusive_add_ulong);
 void compiler_workgroup_scan_exclusive_add_float(void)
 {
   cl_float *input = NULL;
@@ -272,7 +272,7 @@ void compiler_workgroup_scan_exclusive_max_long(void)
                               "compiler_workgroup_scan_exclusive_max_long");
   workgroup_generic(WG_SCAN_EXCLUSIVE_MAX, input, expected);
 }
-MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_scan_exclusive_max_long);
+MAKE_UTEST_FROM_FUNCTION_WITH_ISSUE(compiler_workgroup_scan_exclusive_max_long);
 void compiler_workgroup_scan_exclusive_max_ulong(void)
 {
   cl_ulong *input = NULL;
@@ -281,7 +281,7 @@ void compiler_workgroup_scan_exclusive_max_ulong(void)
                               "compiler_workgroup_scan_exclusive_max_ulong");
   workgroup_generic(WG_SCAN_EXCLUSIVE_MAX, input, expected);
 }
-MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_scan_exclusive_max_ulong);
+MAKE_UTEST_FROM_FUNCTION_WITH_ISSUE(compiler_workgroup_scan_exclusive_max_ulong);
 void compiler_workgroup_scan_exclusive_max_float(void)
 {
   cl_float *input = NULL;
@@ -321,7 +321,7 @@ void compiler_workgroup_scan_exclusive_min_long(void)
                               "compiler_workgroup_scan_exclusive_min_long");
   workgroup_generic(WG_SCAN_EXCLUSIVE_MIN, input, expected);
 }
-MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_scan_exclusive_min_long);
+MAKE_UTEST_FROM_FUNCTION_WITH_ISSUE(compiler_workgroup_scan_exclusive_min_long);
 void compiler_workgroup_scan_exclusive_min_ulong(void)
 {
   cl_ulong *input = NULL;
@@ -330,7 +330,7 @@ void compiler_workgroup_scan_exclusive_min_ulong(void)
                               "compiler_workgroup_scan_exclusive_min_ulong");
   workgroup_generic(WG_SCAN_EXCLUSIVE_MIN, input, expected);
 }
-MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_scan_exclusive_min_ulong);
+MAKE_UTEST_FROM_FUNCTION_WITH_ISSUE(compiler_workgroup_scan_exclusive_min_ulong);
 void compiler_workgroup_scan_exclusive_min_float(void)
 {
   cl_float *input = NULL;
diff --git a/utests/compiler_workgroup_scan_inclusive.cpp b/utests/compiler_workgroup_scan_inclusive.cpp
index 440416d..afbbc8e 100644
--- a/utests/compiler_workgroup_scan_inclusive.cpp
+++ b/utests/compiler_workgroup_scan_inclusive.cpp
@@ -213,7 +213,7 @@ void compiler_workgroup_scan_inclusive_add_long(void)
                               "compiler_workgroup_scan_inclusive_add_long");
   workgroup_generic(WG_SCAN_INCLUSIVE_ADD, input, expected);
 }
-MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_scan_inclusive_add_long);
+MAKE_UTEST_FROM_FUNCTION_WITH_ISSUE(compiler_workgroup_scan_inclusive_add_long);
 void compiler_workgroup_scan_inclusive_add_ulong(void)
 {
   cl_ulong *input = NULL;
@@ -222,7 +222,7 @@ void compiler_workgroup_scan_inclusive_add_ulong(void)
                               "compiler_workgroup_scan_inclusive_add_ulong");
   workgroup_generic(WG_SCAN_INCLUSIVE_ADD, input, expected);
 }
-MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_scan_inclusive_add_ulong);
+MAKE_UTEST_FROM_FUNCTION_WITH_ISSUE(compiler_workgroup_scan_inclusive_add_ulong);
 void compiler_workgroup_scan_inclusive_add_float(void)
 {
   cl_float *input = NULL;
@@ -262,7 +262,7 @@ void compiler_workgroup_scan_inclusive_max_long(void)
                               "compiler_workgroup_scan_inclusive_max_long");
   workgroup_generic(WG_SCAN_INCLUSIVE_MAX, input, expected);
 }
-MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_scan_inclusive_max_long);
+MAKE_UTEST_FROM_FUNCTION_WITH_ISSUE(compiler_workgroup_scan_inclusive_max_long);
 void compiler_workgroup_scan_inclusive_max_ulong(void)
 {
   cl_ulong *input = NULL;
@@ -271,7 +271,7 @@ void compiler_workgroup_scan_inclusive_max_ulong(void)
                               "compiler_workgroup_scan_inclusive_max_ulong");
   workgroup_generic(WG_SCAN_INCLUSIVE_MAX, input, expected);
 }
-MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_scan_inclusive_max_ulong);
+MAKE_UTEST_FROM_FUNCTION_WITH_ISSUE(compiler_workgroup_scan_inclusive_max_ulong);
 void compiler_workgroup_scan_inclusive_max_float(void)
 {
   cl_float *input = NULL;
@@ -311,7 +311,7 @@ void compiler_workgroup_scan_inclusive_min_long(void)
                               "compiler_workgroup_scan_inclusive_min_long");
   workgroup_generic(WG_SCAN_INCLUSIVE_MIN, input, expected);
 }
-MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_scan_inclusive_min_long);
+MAKE_UTEST_FROM_FUNCTION_WITH_ISSUE(compiler_workgroup_scan_inclusive_min_long);
 void compiler_workgroup_scan_inclusive_min_ulong(void)
 {
   cl_ulong *input = NULL;
@@ -320,7 +320,7 @@ void compiler_workgroup_scan_inclusive_min_ulong(void)
                               "compiler_workgroup_scan_inclusive_min_ulong");
   workgroup_generic(WG_SCAN_INCLUSIVE_MIN, input, expected);
 }
-MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_scan_inclusive_min_ulong);
+MAKE_UTEST_FROM_FUNCTION_WITH_ISSUE(compiler_workgroup_scan_inclusive_min_ulong);
 void compiler_workgroup_scan_inclusive_min_float(void)
 {
   cl_float *input = NULL;
-- 
2.7.4



More information about the Beignet mailing list