[Beignet] [PATCH 8/8] Backend: add double support for shuffle
rander
rander.wang at intel.com
Tue Mar 7 05:07:47 UTC 2017
Signed-off-by: rander <rander.wang at intel.com>
---
backend/src/libocl/include/ocl_misc.h | 2 ++
backend/src/libocl/src/ocl_misc.cl | 2 ++
2 files changed, 4 insertions(+)
diff --git a/backend/src/libocl/include/ocl_misc.h b/backend/src/libocl/include/ocl_misc.h
index 2c0d700..d5fa589 100644
--- a/backend/src/libocl/include/ocl_misc.h
+++ b/backend/src/libocl/include/ocl_misc.h
@@ -53,6 +53,7 @@ DEF(uint)
DEF(float)
DEF(long)
DEF(ulong)
+DEF(double)
#undef DEF
#undef DEFMASK
#undef DEC2
@@ -117,6 +118,7 @@ DEF(uint)
DEF(float)
DEF(long)
DEF(ulong)
+DEF(double)
#undef DEF
#undef DEFMASK
#undef DEC2
diff --git a/backend/src/libocl/src/ocl_misc.cl b/backend/src/libocl/src/ocl_misc.cl
index 3b2eb92..bfa2fa7 100644
--- a/backend/src/libocl/src/ocl_misc.cl
+++ b/backend/src/libocl/src/ocl_misc.cl
@@ -92,6 +92,7 @@ DEF(uint)
DEF(float)
DEF(long)
DEF(ulong)
+DEF(double)
#undef DEF
#undef DEFMASK
#undef DEC2
@@ -206,6 +207,7 @@ DEF(uint)
DEF(float)
DEF(long)
DEF(ulong)
+DEF(double)
#undef DEF
#undef DEFMASK
#undef DEC2
--
2.7.4
More information about the Beignet
mailing list