include/pops/runtime/dynamic/abi_key.hpp Source FileΒΆ
|
adc_cpp 0.3.0
Model-free C++23 core for coupled hyperbolic-elliptic systems on adaptive (AMR) meshes, with MPI and GPU (Kokkos) backends
|
abi_key.hpp
Go to the documentation of this file.
3#include <pops/runtime/export.hpp> // POPS_EXPORT (default visibility across the hidden _pops module)
45// Indirection to stringify the value of a macro (not its name). Defined BEFORE the tokens that use
50// Kokkos token: evaluated PER UNIT (_pops module on one side, generated .so loader on the other).
79// "compiler=<__VERSION__>;std=<__cplusplus>;headers=<POPS_HEADER_SIG>;kokkos=<0|1>;stdlib=<...>".
80// All tokens are string literals (__VERSION__ and POPS_HEADER_SIG already are), so the key is frozen
84// RTLD_GLOBAL and an `inline` function (weak linkage, default visibility) that would build the key
86// loader would then return the key OF THE MODULE and the guard would compare the module key against
87// itself (tautology: ABI never rejected). Whether interposition happened depended on the compiler's
POPS_EXPORT: force DEFAULT VISIBILITY on an out-of-line symbol, even when the unit is compiled with -...
std::string abi_key_string()
ABI key of the current TU (cf.
Definition abi_key.hpp:104
Definition amr_hierarchy.hpp:29
Generated by