1*88d28848SJoseph Huber //===-- Implementation of the lgamma function for GPU ---------------------===// 2*88d28848SJoseph Huber // 3*88d28848SJoseph Huber // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*88d28848SJoseph Huber // See https://llvm.org/LICENSE.txt for license information. 5*88d28848SJoseph Huber // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*88d28848SJoseph Huber // 7*88d28848SJoseph Huber //===----------------------------------------------------------------------===// 8*88d28848SJoseph Huber 9*88d28848SJoseph Huber #include "src/math/lgamma.h" 10*88d28848SJoseph Huber #include "src/__support/common.h" 11*88d28848SJoseph Huber 12*88d28848SJoseph Huber #include "declarations.h" 13*88d28848SJoseph Huber #include "src/__support/macros/config.h" 14*88d28848SJoseph Huber 15*88d28848SJoseph Huber namespace LIBC_NAMESPACE_DECL { 16*88d28848SJoseph Huber 17*88d28848SJoseph Huber LLVM_LIBC_FUNCTION(double, lgamma, (double x)) { return __ocml_lgamma_f64(x); } 18*88d28848SJoseph Huber 19*88d28848SJoseph Huber } // namespace LIBC_NAMESPACE_DECL 20