amdgpu/half_exp: Switch implementation to native_exp

Reviewer: Tom Stellard <tstellar@redhat.com>
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 325055
This commit is contained in:
Jan Vesely 2018-02-13 22:09:35 +00:00
parent bca92445ba
commit 4879dd7471
2 changed files with 7 additions and 0 deletions

View File

@ -1,6 +1,7 @@
math/native_exp.cl math/native_exp.cl
math/native_log.cl math/native_log.cl
math/native_log10.cl math/native_log10.cl
math/half_exp.cl
math/half_rsqrt.cl math/half_rsqrt.cl
math/half_sqrt.cl math/half_sqrt.cl
math/nextafter.cl math/nextafter.cl

View File

@ -0,0 +1,6 @@
#include <clc/clc.h>
#define __CLC_FUNC exp
#define __FLOAT_ONLY
#define __CLC_BODY <half_native_unary.inc>
#include <clc/math/gentype.inc>