forked from OSchip/llvm-project
amdgpu/half_log: Switch implementation to native_log
Reviewer: Tom Stellard <tstellar@redhat.com> Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 325058
This commit is contained in:
parent
2d3b6dfdca
commit
65fd65efbf
|
@ -4,6 +4,7 @@ math/native_log10.cl
|
|||
math/half_exp.cl
|
||||
math/half_exp10.cl
|
||||
math/half_exp2.cl
|
||||
math/half_log.cl
|
||||
math/half_rsqrt.cl
|
||||
math/half_sqrt.cl
|
||||
math/nextafter.cl
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
#include <clc/clc.h>
|
||||
|
||||
#define __CLC_FUNC log
|
||||
#define __FLOAT_ONLY
|
||||
#define __CLC_BODY <half_native_unary.inc>
|
||||
#include <clc/math/gentype.inc>
|
Loading…
Reference in New Issue