amdgpu/half_log2: Switch implementation to native_log2
Reviewer: Tom Stellard <tstellar@redhat.com> Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 325060
This commit is contained in:
parent
86cbf56a4b
commit
ed28c4458a
|
@ -6,6 +6,7 @@ math/half_exp10.cl
|
|||
math/half_exp2.cl
|
||||
math/half_log.cl
|
||||
math/half_log10.cl
|
||||
math/half_log2.cl
|
||||
math/half_rsqrt.cl
|
||||
math/half_sqrt.cl
|
||||
math/nextafter.cl
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
#include <clc/clc.h>
|
||||
|
||||
#define __CLC_FUNC log2
|
||||
#define __FLOAT_ONLY
|
||||
#define __CLC_BODY <half_native_unary.inc>
|
||||
#include <clc/math/gentype.inc>
|
Loading…
Reference in New Issue