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:
Jan Vesely 2018-02-13 22:09:41 +00:00
parent 2d3b6dfdca
commit 65fd65efbf
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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>