forked from OSchip/llvm-project
Add native_recip(x) as ((1)/(x))
Signed-off-by: Aaron Watry <awatry@gmail.com> Acked-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 313107
This commit is contained in:
parent
d8328f13ac
commit
e62f5fa64d
|
@ -106,6 +106,7 @@
|
|||
#include <clc/math/native_log.h>
|
||||
#include <clc/math/native_log2.h>
|
||||
#include <clc/math/native_powr.h>
|
||||
#include <clc/math/native_recip.h>
|
||||
#include <clc/math/native_sin.h>
|
||||
#include <clc/math/native_sqrt.h>
|
||||
#include <clc/math/native_rsqrt.h>
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
#define native_recip(x) ((1) / (x))
|
Loading…
Reference in New Issue