Passes CTS on carrizo
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Passes CTS on carrizo
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Passes CTS on carrizo
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Passes CTS on carrizo
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Passes CTS on carrizo
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Passes CTS on carrizo
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Passes CTS on carrizo
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Passes CTS on carrizo
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Passes CTS on carrizo
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
ping.
Jan
> Passes CTS on carrizo
> Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
> ---
> amdgpu/lib/SOURCES | 1 +
> amdgpu/lib/math/half_recip.cl | 6 ++++++
> 2 files changed, 7 insertions(+)
> create mode 100644 amdgpu/lib/math/half_recip.cl
>
> diff --git a/amdgpu/lib/SOURCES b/amdgpu/lib/SOURCES
> index c6dc3bd..b11cbde 100644
> --- a/amdgpu/lib/SOURCES
> +++ b/amdgpu/lib/SOURCES
> @@ -7,6 +7,7 @@ math/half_exp2.cl
> math/half_log.cl
> math/half_log10.cl
> math/half_log2.cl
> +math/half_recip.cl
> math/half_rsqrt.cl
> math/half_sqrt.cl
> math/nextafter.cl
> diff --git a/amdgpu/lib/math/half_recip.cl b/amdgpu/lib/math/half_recip.cl
> new file mode 100644
> index 0000000..f1e0e4c
> --- /dev/null
> +++ b/amdgpu/lib/math/half_recip.cl
> @@ -0,0 +1,6 @@
> +#include <clc/clc.h>
> +
> +#define __CLC_FUNC recip
> +#define __FLOAT_ONLY
> +#define __CLC_BODY <half_native_unary.inc>
> +#include <clc/math/gentype.inc>ping.
ping2
Passes CTS on carrizo
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
---
amdgpu/lib/SOURCES | 1 +
amdgpu/lib/math/half_recip.cl | 6 ++++++
2 files changed, 7 insertions(+)
create mode 100644 amdgpu/lib/math/half_recip.cldiff --git a/amdgpu/lib/SOURCES b/amdgpu/lib/SOURCES
index c6dc3bd..b11cbde 100644
--- a/amdgpu/lib/SOURCES
+++ b/amdgpu/lib/SOURCES
@@ -7,6 +7,7 @@ math/half_exp2.cl
math/half_log.cl
math/half_log10.cl
math/half_log2.cl
+math/half_recip.cl
math/half_rsqrt.cl
math/half_sqrt.cl
math/nextafter.cl
diff --git a/amdgpu/lib/math/half_recip.cl b/amdgpu/lib/math/half_recip.cl
new file mode 100644
index 0000000..f1e0e4c
--- /dev/null
+++ b/amdgpu/lib/math/half_recip.cl
@@ -0,0 +1,6 @@
+#include <clc/clc.h>
+
+#define __CLC_FUNC recip
+#define __FLOAT_ONLY
+#define __CLC_BODY <half_native_unary.inc>
+#include <clc/math/gentype.inc>ping.
ping2
LGTM for the series.
-Tom