diff options
| author | Jan Vesely <jan.vesely@rutgers.edu> | 2018-02-13 22:09:37 +0000 |
|---|---|---|
| committer | Jan Vesely <jan.vesely@rutgers.edu> | 2018-02-13 22:09:37 +0000 |
| commit | 021264c75a0c5046a59c4e3f4a86e27aabfc0823 (patch) | |
| tree | 538ce86c628d1da667c4c49d6b56a149c5790315 /libclc/amdgpu/lib | |
| parent | 4879dd74718e6765b6943a885a06fbddf31999db (diff) | |
| download | bcm5719-llvm-021264c75a0c5046a59c4e3f4a86e27aabfc0823.tar.gz bcm5719-llvm-021264c75a0c5046a59c4e3f4a86e27aabfc0823.zip | |
amdgpu/half_exp10: Switch implementation to native_exp10
Reviewer: Tom Stellard <tstellar@redhat.com>
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 325056
Diffstat (limited to 'libclc/amdgpu/lib')
| -rw-r--r-- | libclc/amdgpu/lib/SOURCES | 1 | ||||
| -rw-r--r-- | libclc/amdgpu/lib/math/half_exp10.cl | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/libclc/amdgpu/lib/SOURCES b/libclc/amdgpu/lib/SOURCES index 4979925fcac..29fd280c484 100644 --- a/libclc/amdgpu/lib/SOURCES +++ b/libclc/amdgpu/lib/SOURCES @@ -2,6 +2,7 @@ math/native_exp.cl math/native_log.cl math/native_log10.cl math/half_exp.cl +math/half_exp10.cl math/half_rsqrt.cl math/half_sqrt.cl math/nextafter.cl diff --git a/libclc/amdgpu/lib/math/half_exp10.cl b/libclc/amdgpu/lib/math/half_exp10.cl new file mode 100644 index 00000000000..31493e60646 --- /dev/null +++ b/libclc/amdgpu/lib/math/half_exp10.cl @@ -0,0 +1,6 @@ +#include <clc/clc.h> + +#define __CLC_FUNC exp10 +#define __FLOAT_ONLY +#define __CLC_BODY <half_native_unary.inc> +#include <clc/math/gentype.inc> |

