Signed-off-by: Ruiling Song ruiling.s...@intel.com
---
backend/src/ocl_stdlib.tmpl.h | 110 -
1 file changed, 54 insertions(+), 56 deletions(-)
diff --git a/backend/src/ocl_stdlib.tmpl.h b/backend/src/ocl_stdlib.tmpl.h
index d191b8e..d2cc144 100755
---
Add OCL_STRICT_CONFORMANCE to switch the behavior of math func,
The funcs will be high precision with perf drops if it is 1, Fast
path with good enough precision will be selected if it is 0.
This change is to add the code basis, with 'sin' and 'cos' implemented
as examples, other math functions