[Beignet] [PATCH] backend: add double support to convert_double_rte|n|z|p(double x) just call convert_double(double x). actually just a mov

rander rander.wang at intel.com
Fri Mar 17 02:22:18 UTC 2017


Signed-off-by: rander <rander.wang at intel.com>
---
 backend/src/libocl/script/ocl_convert.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend/src/libocl/script/ocl_convert.sh b/backend/src/libocl/script/ocl_convert.sh
index b23022e..31fdb6f 100755
--- a/backend/src/libocl/script/ocl_convert.sh
+++ b/backend/src/libocl/script/ocl_convert.sh
@@ -1055,7 +1055,7 @@ for vector_length in $VECTOR_LENGTHS; do
 done
 
 # convert_double_roundingmode( int32, int16 ,int8)
-ITYPES=" int:4 uint:4 short:2 ushort:2 char:1 uchar:1"
+ITYPES=" double:8 int:4 uint:4 short:2 ushort:2 char:1 uchar:1"
 for vector_length in $VECTOR_LENGTHS; do
     for ftype in $ITYPES; do
 	fbasetype=`IFS=:; set -- dummy $ftype; echo $2`
-- 
2.7.4



More information about the Beignet mailing list