GBE/libocl: add missing vector builtin definition for fma.
authorZhigang Gong <zhigang.gong@intel.com>
Fri, 12 Sep 2014 09:18:16 +0000 (17:18 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Tue, 16 Sep 2014 04:17:10 +0000 (12:17 +0800)
Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
Reviewed-by: "Song, Ruiling" <ruiling.song@intel.com>
Reviewed-by: He Junyan <junyan.he@inbox.com>
backend/src/libocl/script/ocl_math.def

index ff1d5d6..4baded4 100644 (file)
@@ -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)