From c8f8c69321eb38cb63f296b328c364c9ee9928e8 Mon Sep 17 00:00:00 2001 From: Zhigang Gong Date: Fri, 9 Aug 2013 10:35:59 +0800 Subject: [PATCH] Utests: enable long/ulong in vector load/store test case. Signed-off-by: Zhigang Gong Reviewed-by: "Song, Ruiling" --- 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) -- 2.7.4