[Libclc-dev] [PATCH 2/4] math: Implement lgamma_r

Matt Arsenault via Libclc-dev libclc-dev at lists.llvm.org
Tue Sep 13 21:48:05 PDT 2016


> On Sep 11, 2016, at 22:53, Aaron Watry via Libclc-dev <libclc-dev at lists.llvm.org> wrote:
> 
> Ported from the amd-builtins branch, which is itself based on the
> Sun Microsystems implementation.
> 
> Signed-off-by: Aaron Watry <awatry at gmail.com>
> ---
> generic/include/clc/clc.h             |   1 +
> generic/include/clc/math/lgamma_r.h   |   2 +
> generic/include/clc/math/lgamma_r.inc |   3 +
> generic/lib/SOURCES                   |   1 +
> generic/lib/math/lgamma_r.cl          |  11 +
> generic/lib/math/lgamma_r.inc         | 500 ++++++++++++++++++++++++++++++++++
> 6 files changed, 518 insertions(+)
> create mode 100644 generic/include/clc/math/lgamma_r.h
> create mode 100644 generic/include/clc/math/lgamma_r.inc
> create mode 100644 generic/lib/math/lgamma_r.cl
> create mode 100644 generic/lib/math/lgamma_r.inc


These pass the conformance test for me on Bonaire


More information about the Libclc-dev mailing list