This patch populates the GPU version of `libm` with missing vendor entrypoints. The vendor math entrypoints are disabled by default but can be enabled with the CMake option `LIBC_GPU_VENDOR_MATH=ON`.
19 lines
572 B
C++
19 lines
572 B
C++
//===-- Implementation header for atan2 -------------------------*- C++ -*-===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_LIBC_SRC_MATH_ATAN2_H
|
|
#define LLVM_LIBC_SRC_MATH_ATAN2_H
|
|
|
|
namespace LIBC_NAMESPACE {
|
|
|
|
double atan2(double x, double y);
|
|
|
|
} // namespace LIBC_NAMESPACE
|
|
|
|
#endif // LLVM_LIBC_SRC_MATH_ATAN2_H
|