mirror of
https://github.com/intel/llvm.git
synced 2026-02-02 18:18:09 +08:00
amdgpu/half_sqrt: Switch implementation to native_sqrt
Reviewer: Tom Stellard <tstellar@redhat.com> Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 325054
This commit is contained in:
@@ -2,5 +2,6 @@ math/native_exp.cl
|
||||
math/native_log.cl
|
||||
math/native_log10.cl
|
||||
math/half_rsqrt.cl
|
||||
math/half_sqrt.cl
|
||||
math/nextafter.cl
|
||||
math/sqrt.cl
|
||||
|
||||
6
libclc/amdgpu/lib/math/half_sqrt.cl
Normal file
6
libclc/amdgpu/lib/math/half_sqrt.cl
Normal file
@@ -0,0 +1,6 @@
|
||||
#include <clc/clc.h>
|
||||
|
||||
#define __CLC_FUNC sqrt
|
||||
#define __FLOAT_ONLY
|
||||
#define __CLC_BODY <half_native_unary.inc>
|
||||
#include <clc/math/gentype.inc>
|
||||
Reference in New Issue
Block a user