[Beignet] [PATCH V2] Utest: Fix broadcast long input type

grigore.lupescu at intel.com grigore.lupescu at intel.com
Wed Apr 13 07:37:51 UTC 2016


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

Signed-off-by: Grigore Lupescu <grigore.lupescu at intel.com>
---
 utests/compiler_workgroup_broadcast.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/utests/compiler_workgroup_broadcast.cpp b/utests/compiler_workgroup_broadcast.cpp
index aff95ff..b57b859 100644
--- a/utests/compiler_workgroup_broadcast.cpp
+++ b/utests/compiler_workgroup_broadcast.cpp
@@ -275,8 +275,8 @@ MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_broadcast_2D_int);
 
 void compiler_workgroup_broadcast_2D_long(void)
 {
-  cl_int *input = NULL;
-  cl_int *expected = NULL;
+  cl_long *input = NULL;
+  cl_long *expected = NULL;
   OCL_CREATE_KERNEL_FROM_FILE("compiler_workgroup_broadcast",
                               "compiler_workgroup_broadcast_2D_long");
   workgroup_generic(WG_BROADCAST_2D, input, expected);
@@ -299,8 +299,8 @@ MAKE_UTEST_FROM_FUNCTION(compiler_workgroup_broadcast_3D_int);
 
 void compiler_workgroup_broadcast_3D_long(void)
 {
-  cl_int *input = NULL;
-  cl_int *expected = NULL;
+  cl_long *input = NULL;
+  cl_long *expected = NULL;
   OCL_CREATE_KERNEL_FROM_FILE("compiler_workgroup_broadcast",
                               "compiler_workgroup_broadcast_3D_long");
   workgroup_generic(WG_BROADCAST_3D, input, expected);
-- 
2.5.0



More information about the Beignet mailing list