diff options
| author | Jan Vesely <jan.vesely@rutgers.edu> | 2018-02-13 22:09:35 +0000 |
|---|---|---|
| committer | Jan Vesely <jan.vesely@rutgers.edu> | 2018-02-13 22:09:35 +0000 |
| commit | 4879dd74718e6765b6943a885a06fbddf31999db (patch) | |
| tree | 5c7966014de158263bf500e099aa02a855a5c95e /libclc/amdgpu/lib/math | |
| parent | bca92445ba20643428f36a67f91f136df82b4546 (diff) | |
| download | bcm5719-llvm-4879dd74718e6765b6943a885a06fbddf31999db.tar.gz bcm5719-llvm-4879dd74718e6765b6943a885a06fbddf31999db.zip | |
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
Diffstat (limited to 'libclc/amdgpu/lib/math')
| -rw-r--r-- | libclc/amdgpu/lib/math/half_exp.cl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libclc/amdgpu/lib/math/half_exp.cl b/libclc/amdgpu/lib/math/half_exp.cl new file mode 100644 index 00000000000..dd561472dbe --- /dev/null +++ b/libclc/amdgpu/lib/math/half_exp.cl @@ -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> |

