-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathconfig.hpp.in
49 lines (33 loc) · 1.24 KB
/
config.hpp.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// Copyright 2020, 2021, 2022 Francesco Biscani ([email protected]), Dario Izzo ([email protected])
//
// This file is part of the heyoka library.
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
#ifndef HEYOKA_CONFIG_HPP
#define HEYOKA_CONFIG_HPP
// clang-format off
#define HEYOKA_VERSION_STRING "@heyoka_VERSION@"
#define HEYOKA_VERSION_MAJOR @heyoka_VERSION_MAJOR@
#define HEYOKA_VERSION_MINOR @heyoka_VERSION_MINOR@
#define HEYOKA_VERSION_PATCH @heyoka_VERSION_PATCH@
// clang-format on
#cmakedefine HEYOKA_WITH_MPPP
#cmakedefine HEYOKA_WITH_SLEEF
#cmakedefine HEYOKA_BUILD_STATIC_LIBRARY
#if defined(HEYOKA_WITH_MPPP)
#include <mp++/config.hpp>
#if defined(MPPP_WITH_QUADMATH)
#define HEYOKA_HAVE_REAL128
#endif
#endif
#if defined(__i386) || defined(_M_IX86) || defined(_X86_) || defined(__amd64__) || defined(_M_AMD64)
#define HEYOKA_ARCH_X86
#elif defined(_ARCH_PPC) || defined(_M_PPC)
#define HEYOKA_ARCH_PPC
#endif
// Maximum number of blocks that can be processed in parallel
// when computing the Taylor derivatives in parallel mode.
#define HEYOKA_CM_PAR_MAX_INVOKE_N 20
#endif