diff options
| author | Jan Vesely <jan.vesely@rutgers.edu> | 2018-02-13 22:09:42 +0000 |
|---|---|---|
| committer | Jan Vesely <jan.vesely@rutgers.edu> | 2018-02-13 22:09:42 +0000 |
| commit | 86cbf56a4bc20a2e3f5a0c87492cf11fb837ea92 (patch) | |
| tree | fd6b0ebc0244b3d1aa79f06a1884712303e5a225 /libclc/amdgpu/lib/math | |
| parent | 65fd65efbf63514fd71685262417b5e9642c4de9 (diff) | |
| download | bcm5719-llvm-86cbf56a4bc20a2e3f5a0c87492cf11fb837ea92.tar.gz bcm5719-llvm-86cbf56a4bc20a2e3f5a0c87492cf11fb837ea92.zip | |
amdgpu/half_log10: Switch implementation to native_log10
Reviewer: Tom Stellard <tstellar@redhat.com>
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 325059
Diffstat (limited to 'libclc/amdgpu/lib/math')
| -rw-r--r-- | libclc/amdgpu/lib/math/half_log10.cl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libclc/amdgpu/lib/math/half_log10.cl b/libclc/amdgpu/lib/math/half_log10.cl new file mode 100644 index 00000000000..34fc978c6c4 --- /dev/null +++ b/libclc/amdgpu/lib/math/half_log10.cl @@ -0,0 +1,6 @@ +#include <clc/clc.h> + +#define __CLC_FUNC log10 +#define __FLOAT_ONLY +#define __CLC_BODY <half_native_unary.inc> +#include <clc/math/gentype.inc> |

