1/*===-- complex --- OpenMP complex wrapper for target regions --------- c++ -===
2 *
3 * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 * See https://llvm.org/LICENSE.txt for license information.
5 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 *
7 *===-----------------------------------------------------------------------===
8 */
9
10#ifndef __CLANG_OPENMP_COMPLEX__
11#define __CLANG_OPENMP_COMPLEX__
12
13#ifndef _OPENMP
14#error "This file is for OpenMP compilation only."
15#endif
16
17// We require std::math functions in the complex builtins below.
18#include <cmath>
19
20#define __CUDA__
21#include <__clang_cuda_complex_builtins.h>
22#endif
23
24// Grab the host header too.
25#include_next <complex>
26