[Beignet] [PATCH] GBE/libocl: add missing vector builtin definition for fma.
Zhigang Gong
zhigang.gong at intel.com
Fri Sep 12 02:18:16 PDT 2014
Signed-off-by: Zhigang Gong <zhigang.gong at intel.com>
---
backend/src/libocl/script/ocl_math.def | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/src/libocl/script/ocl_math.def b/backend/src/libocl/script/ocl_math.def
index ff1d5d6..4baded4 100644
--- a/backend/src/libocl/script/ocl_math.def
+++ b/backend/src/libocl/script/ocl_math.def
@@ -26,7 +26,7 @@ gentype fabs (gentype)
gentype fdim (gentype x, gentype y)
gentype floor (gentype)
# XXX we use madd for fma
-#gentype fma (gentype a, gentype b, gentype c)
+gentype fma (gentype a, gentype b, gentype c)
gentype fmax (gentype x, gentype y)
gentypef fmax (gentypef x, float y)
gentyped fmax (gentyped x, double y)
--
1.8.3.2
More information about the Beignet
mailing list