sergesanspaille / rpms / pocl

Forked from rpms/pocl 5 years ago
Clone
Blob Blame History Raw
From dca128f42d3b9401eeb5760b129987091657753f Mon Sep 17 00:00:00 2001
From: Michal Babej <michal.babej@tut.fi>
Date: Wed, 3 Jan 2018 11:07:35 +0100
Subject: [PATCH 01/14] Fix issue #597 for 32bit ARM

---
 lib/kernel/libclc/vtables_fp64.cl | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lib/kernel/libclc/vtables_fp64.cl b/lib/kernel/libclc/vtables_fp64.cl
index 44142909..0f4d5753 100644
--- a/lib/kernel/libclc/vtables_fp64.cl
+++ b/lib/kernel/libclc/vtables_fp64.cl
@@ -1025,9 +1025,6 @@ DECLARE_VTABLE(double2, CBRT_REM_TBL, 5) = {
     (double2)(0x1.965fea0000000p+0, 0x1.4f5b8f20ac166p-26),
 };
 
-#endif // cl_khr_fp64
-
-
 VTABLE_FUNCTION(double, CBRT_INV_TBL, cbrt_inv_tbl);
 
 VTABLE_FUNCTION2(v2double, LN_TBL, ln_tbl);
@@ -1037,3 +1034,5 @@ VTABLE_FUNCTION2(v2double, SINH_TBL, sinh_tbl);
 VTABLE_FUNCTION2(v2double, COSH_TBL, cosh_tbl);
 VTABLE_FUNCTION2(v2double, CBRT_DBL_TBL, cbrt_dbl_tbl);
 VTABLE_FUNCTION2(v2double, CBRT_REM_TBL, cbrt_rem_tbl);
+
+#endif // cl_khr_fp64
-- 
2.15.1