Ginkgo Generated from branch based on master. Ginkgo version 1.7.0
A numerical linear algebra library targeting many-core architectures
Loading...
Searching...
No Matches
config.hpp
1/*******************************<GINKGO LICENSE>******************************
2Copyright (c) 2017-2023, the Ginkgo authors
3All rights reserved.
4
5Redistribution and use in source and binary forms, with or without
6modification, are permitted provided that the following conditions
7are met:
8
91. Redistributions of source code must retain the above copyright
10notice, this list of conditions and the following disclaimer.
11
122. Redistributions in binary form must reproduce the above copyright
13notice, this list of conditions and the following disclaimer in the
14documentation and/or other materials provided with the distribution.
15
163. Neither the name of the copyright holder nor the names of its
17contributors may be used to endorse or promote products derived from
18this software without specific prior written permission.
19
20THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
21IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
22TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
23PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31******************************<GINKGO LICENSE>*******************************/
32
33#ifndef GKO_INCLUDE_CONFIG_H
34#define GKO_INCLUDE_CONFIG_H
35
36// clang-format off
37#define GKO_VERSION_MAJOR 1
38#define GKO_VERSION_MINOR 7
39#define GKO_VERSION_PATCH 0
40#define GKO_VERSION_TAG "master"
41#define GKO_VERSION_STR 1, 7, 0
42// clang-format on
43
44/*
45 * Controls the amount of messages output by Ginkgo.
46 * 0 disables all output (except for test, benchmarks and examples).
47 * 1 activates important messages.
48 */
49// clang-format off
50#define GKO_VERBOSE_LEVEL 1
51// clang-format on
52
53
54/* Is Itanium ABI available? */
55#define GKO_HAVE_CXXABI_H
56
57
58/* Should we use all optimizations for Jacobi? */
59/* #undef GINKGO_JACOBI_FULL_OPTIMIZATIONS */
60
61
62/* Should we compile Ginkgo specifically to tune values? */
63/* #undef GINKGO_BENCHMARK_ENABLE_TUNING */
64
65
66/* Should we compile mixed-precision kernels for Ginkgo? */
67/* #undef GINKGO_MIXED_PRECISION */
68
69
70/* What is HIP compiled for, hcc or nvcc? */
71// clang-format off
72#define GINKGO_HIP_PLATFORM_HCC 0
73
74
75#define GINKGO_HIP_PLATFORM_NVCC 0
76// clang-format on
77
78
79/* What is the major version of dpcpp compiler */
80// clang-format off
81#define GINKGO_DPCPP_MAJOR_VERSION 0
82// clang-format on
83
84
85/* Is PAPI SDE available for Logging? */
86// clang-format off
87#define GKO_HAVE_PAPI_SDE 0
88// clang-format on
89
90
91/* Is TAU available for Profiling? */
92// clang-format off
93#define GKO_HAVE_TAU 0
94// clang-format on
95
96
97/* Is VTune ITT available for Profiling? */
98// clang-format off
99#define GKO_HAVE_VTUNE 0
100// clang-format on
101
102
103/* Is METIS available for Reordering? */
104// clang-format off
105#define GKO_HAVE_METIS 0
106// clang-format on
107
108#if GKO_HAVE_METIS
109// clang-format off
110#define GKO_METIS_HEADER <>
111// clang-format on
112#endif
113
114/* Is ROCTX available for Profiling? */
115// clang-format off
116#define GKO_HAVE_ROCTX 0
117// clang-format on
118
119
120/* Is MPI available ? */
121// clang-format off
122#define GINKGO_BUILD_MPI 1
123// clang-format on
124
125/* Is the MPI implementation GPU aware? */
126// clang-format off
127#define GINKGO_HAVE_GPU_AWARE_MPI 0
128// clang-format on
129
130
131/* Is HWLOC available ? */
132// clang-format off
133#define GKO_HAVE_HWLOC 1
134// clang-format on
135
136
137/* Do we need to use blocking communication in our SpMV? */
138// clang-format off
139/* #undef GINKGO_FORCE_SPMV_BLOCKING_COMM */
140// clang-format on
141
142
143#endif // GKO_INCLUDE_CONFIG_H