|
using | codi::Config::ArgumentSize = uint8_t |
| Type for the number of arguments in statements.
|
|
size_t constexpr | codi::Config::ByteDataChunkSize = 4194304 |
| Default size of byte chunks used in ChunkedData in reverse tape implementations.
|
|
size_t constexpr | codi::Config::ChunkSize = 2097152 |
| Default size of chunks (ChunkBase) used in ChunkedData in reverse tape implementations.
|
|
#define | CODI_ByteDataChunkSize 4194304 |
| See codi::Config::ByteDataChunkSize.
|
|
#define | CODI_ChunkSize 2097152 |
| See codi::Config::ChunkSize.
|
|
#define | CODI_SmallChunkSize 32768 |
| See codi::Config::SmallChunkSize.
|
|
using | codi::Config::LowLevelFunctionDataSize = uint16_t |
| Size store type for a low level function.
|
|
size_t constexpr | codi::Config::LowLevelFunctionDataSizeMax = std::numeric_limits<LowLevelFunctionDataSize>::max() |
| Maximum data size of a low level function.
|
|
using | codi::Config::LowLevelFunctionToken = uint16_t |
| Token type for low level functions in the tapes.
|
|
size_t constexpr | codi::Config::LowLevelFunctionTokenInvalid = std::numeric_limits<LowLevelFunctionToken>::max() |
| Invalid low level function token.
|
|
size_t constexpr | codi::Config::LowLevelFunctionTokenMaxSize = std::numeric_limits<LowLevelFunctionToken>::max() |
| Maximum number of low level functions.
|
|
size_t constexpr | codi::Config::MaxArgumentSize = 253 |
| Maximum number of arguments in a statement.
|
|
size_t constexpr | codi::Config::SmallChunkSize = 32768 |
| Default smaller size of chunks (ChunkBase) used in ChunkedData in reverse tape implementations.
|
|
size_t constexpr | codi::Config::StatementInputTag = 255 |
| Tag for statements that are inputs. Used in linear index management context.
|
|
size_t constexpr | codi::Config::StatementLowLevelFunctionTag = 254 |
| Statement tag for low level functions.
|
|
|
bool constexpr | codi::Config::ADWorkflowEvents = true |
| Enable AD workflow events, also known as Tape* events. Enabled by default.
|
|
#define | CODI_ADWorkflowEvents true |
| See codi::Config::ADWorkflowEvents.
|
|
#define | CODI_IndexEvents false |
| See codi::Config::IndexEvents.
|
|
#define | CODI_PreaccEvents false |
| See codi::Config::PreaccEvents.
|
|
#define | CODI_StatementEvents false |
| See codi::Config::StatementEvents.
|
|
bool constexpr | codi::Config::IndexEvents = false |
| Enable index management events. Disabled by default.
|
|
bool constexpr | codi::Config::PreaccEvents = false |
| Enable preaccumulation events. Disabled by default.
|
|
bool constexpr | codi::Config::StatementEvents = false |
| Enable statement events. Disabled by default.
|
|
|
#define | CODI_EnableEnzyme false |
| See codi::Config::EnableEnzyme.
|
|
#define | CODI_EnableMPI false |
| See codi::Config::EnableMPI.
|
|
#define | CODI_EnableOpDiLib false |
| See codi::Config::EnableOpDiLib.
|
|
#define | CODI_EnableOpenMP false |
| See codi::Config::EnableOpenMP.
|
|
bool constexpr | codi::Config::EnableEigen = 1 |
| Enable Eigen specific implementations.
|
|
bool constexpr | codi::Config::EnableEnzyme = false |
| Add Enzyme specific functionality.
|
|
bool constexpr | codi::Config::EnableMPI = false |
| Add MPI and MeDiPack specific headers.
|
|
bool constexpr | codi::Config::EnableOpDiLib = false |
| Add OpDiLib specific headers. Requires codi::Config::EnableOpenMP == true.
|
|
bool constexpr | codi::Config::EnableOpenMP = false |
| Add OpenMP specific headers.
|
|
|
bool constexpr | codi::Config::AnnotateBranchLikelihood = __cplusplus >= 202002L |
| Annotate branches with likely or unlikely, e.g., for if and else.
|
|
bool constexpr | codi::Config::AvoidedInlines = 0 |
| Do not inline functions like evaluate().
|
|
#define | CODI_AnnotateBranchLikelihood CODI_HasCpp20 |
| See codi::Config::AnnotateBranchLikelihood.
|
|
#define | CODI_EnableAssert false |
| See codi::Config::EnableAssert.
|
|
#define | CODI_ForcedInlines 0 |
| See codi::Config::ForcedInlines.
|
|
#define | CODI_FunctionAttributes CODI_CUDAFunctionAttributes |
| Attributes for all CoDiPack functions.
|
|
#define | CODI_INLINE CODI_FunctionAttributes inline |
| See codi::Config::ForcedInlines.
|
|
#define | CODI_INLINE_NO_FA inline |
| See codi::Config::ForcedInlines.
|
|
#define | CODI_Likely /* empty */ |
| Declare likely evaluation of an execution path.
|
|
#define | CODI_NO_INLINE /* no avoiding of inline defined */ |
| See codi::Config::AvoidedInlines.
|
|
#define | CODI_Unlikely /* empty */ |
| Declare unlikely evaluation of an execution path.
|
|
#define | codiAssert(x) /* disabled by CODI_EnableAssert */ |
| See codi::Config::EnableAssert.
|
|
bool constexpr | codi::Config::EnableAssert = false |
| Enables asserts in CoDiPack for consistency checking.
|
|
bool constexpr | codi::Config::ForcedInlines = 0 |
| Force inlining instead of using the heuristics from the compiler.
|
|