[Beignet] [PATCH 3/3] utests: disable double test case.

Ruiling Song ruiling.song at intel.com
Thu May 22 00:06:54 PDT 2014


As we could not provide full support of double now,
and my patch to refine long support breaks double load/store.
So, we disable all double test cases.

Signed-off-by: Ruiling Song <ruiling.song at intel.com>
---
 kernels/compiler_async_copy.cl        |    2 +-
 kernels/compiler_vector_load_store.cl |    2 +-
 utests/CMakeLists.txt                 |    4 ----
 utests/compiler_async_copy.cpp        |    2 +-
 utests/compiler_vector_load_store.cpp |    2 +-
 5 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/kernels/compiler_async_copy.cl b/kernels/compiler_async_copy.cl
index 06ec8e7..dddde44 100644
--- a/kernels/compiler_async_copy.cl
+++ b/kernels/compiler_async_copy.cl
@@ -21,4 +21,4 @@ DEF(uint2);
 DEF(long2);
 DEF(ulong2);
 DEF(float2);
-DEF(double2);
+//DEF(double2);
diff --git a/kernels/compiler_vector_load_store.cl b/kernels/compiler_vector_load_store.cl
index 964f5e7..aec38b1 100644
--- a/kernels/compiler_vector_load_store.cl
+++ b/kernels/compiler_vector_load_store.cl
@@ -25,9 +25,9 @@ __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(long,n)  \
   TEST_TYPE(ulong,n)
+//  TEST_TYPE(double,n)
 
 #if 0
   TEST_TYPE(half,n)
diff --git a/utests/CMakeLists.txt b/utests/CMakeLists.txt
index a731ab0..73376fe 100644
--- a/utests/CMakeLists.txt
+++ b/utests/CMakeLists.txt
@@ -153,10 +153,6 @@ set (utests_sources
   runtime_createcontext.cpp
   runtime_null_kernel_arg.cpp
   runtime_event.cpp
-  compiler_double.cpp
-  compiler_double_2.cpp
-  compiler_double_3.cpp
-  compiler_double_4.cpp
   compiler_long.cpp
   compiler_long_2.cpp
   compiler_long_convert.cpp
diff --git a/utests/compiler_async_copy.cpp b/utests/compiler_async_copy.cpp
index 7951ff7..ad661c0 100644
--- a/utests/compiler_async_copy.cpp
+++ b/utests/compiler_async_copy.cpp
@@ -52,4 +52,4 @@ DEF(uint, uint, 2);
 DEF(int64_t, long, 2);
 DEF(uint64_t, ulong, 2);
 DEF(float, float, 2);
-DEF(double, double, 2);
+//DEF(double, double, 2);
diff --git a/utests/compiler_vector_load_store.cpp b/utests/compiler_vector_load_store.cpp
index b44abc7..5a1a8d1 100644
--- a/utests/compiler_vector_load_store.cpp
+++ b/utests/compiler_vector_load_store.cpp
@@ -58,6 +58,6 @@ test_all_vector(uint16_t, ushort, true)
 test_all_vector(int32_t, int, true)
 test_all_vector(uint32_t, uint, true)
 test_all_vector(float, float, true)
-test_all_vector(double, double, true)
+//test_all_vector(double, double, true)
 test_all_vector(int64_t, long, true)
 test_all_vector(uint64_t, ulong, false)
-- 
1.7.10.4



More information about the Beignet mailing list