alpaqa
no-casadi-dep
Nonconvex constrained optimization
Loading...
Searching...
No Matches
src
alpaqa
src
driver
openmp.cpp
Go to the documentation of this file.
1
#ifdef _OPENMP
2
3
#if defined(__GNUC__)
4
#define ALPAQA_USED [[gnu::used]]
5
#elif defined(_MSC_VER)
6
#define ALPAQA_USED __declspec(dllexport)
7
#else
8
#define ALPAQA_USED
9
#endif
10
11
namespace
alpaqa::detail
{
12
ALPAQA_USED
void
openmp_dummy
() {
13
#pragma omp parallel
14
{
15
[[
maybe_unused
]]
const
char
*
volatile
msg
=
16
"Force linking OpenMP, even if not used inside of alpaqa itself"
;
17
}
18
}
19
}
// namespace alpaqa::detail
20
21
#endif
alpaqa::detail
Definition
panoc-helpers.tpp:14
alpaqa::inf
constexpr const auto inf
Definition
config.hpp:112
Generated on Tue Mar 26 2024 for alpaqa by
1.9.8