[Beignet] [PATCH 1/2] Utests: enable long/ulong in vector load/store test case.
Zhigang Gong
zhigang.gong at gmail.com
Thu Aug 8 19:35:59 PDT 2013
Signed-off-by: Zhigang Gong <zhigang.gong at linux.intel.com>
---
kernels/compiler_vector_load_store.cl | 6 +++---
utests/compiler_vector_load_store.cpp | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/kernels/compiler_vector_load_store.cl b/kernels/compiler_vector_load_store.cl
index 320194e..964f5e7 100644
--- a/kernels/compiler_vector_load_store.cl
+++ b/kernels/compiler_vector_load_store.cl
@@ -25,11 +25,11 @@ __kernel void test_##type ##n(__global type *pin, \
TEST_TYPE(int,n) \
TEST_TYPE(uint,n) \
TEST_TYPE(float,n) \
- TEST_TYPE(double,n)
+ TEST_TYPE(double,n)\
+ TEST_TYPE(long,n) \
+ TEST_TYPE(ulong,n)
#if 0
- TEST_TYPE(long,n)
- TEST_TYPE(ulong,n)
TEST_TYPE(half,n)
#endif
diff --git a/utests/compiler_vector_load_store.cpp b/utests/compiler_vector_load_store.cpp
index 7deb7cb..f8a3dcb 100644
--- a/utests/compiler_vector_load_store.cpp
+++ b/utests/compiler_vector_load_store.cpp
@@ -59,5 +59,5 @@ test_all_vector(int32_t, int)
test_all_vector(uint32_t, uint)
test_all_vector(float, float)
test_all_vector(double, double)
-//test_all_vector(int64_t, long)
-//test_all_vector(uint64_t, ulong)
+test_all_vector(int64_t, long)
+test_all_vector(uint64_t, ulong)
--
1.7.9.5
More information about the Beignet
mailing list