ttg 1.0.0
Template Task Graph (TTG): flowgraph-based programming model for high-performance distributed-memory algorithms
Loading...
Searching...
No Matches
version.cc
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-3-Clause
2#include "ttg/util/version.h"
3
4namespace ttg {
5 std::array<int, 3> version() { return {TTG_MAJOR_VERSION, TTG_MINOR_VERSION, TTG_MICRO_VERSION}; }
6
7 const char* git_revision() noexcept {
8 static const char revision[] = TTG_GIT_REVISION;
9 return revision;
10 }
11
12 const char* git_description() noexcept {
13 static const char description[] = TTG_GIT_DESCRIPTION;
14 return description;
15 }
16
17} // namespace ttg
top-level TTG namespace contains runtime-neutral functionality
Definition keymap.h:9
std::array< int, 3 > version()
Definition version.cc:5
const char * git_description() noexcept
Definition version.cc:12
const char * git_revision() noexcept
Definition version.cc:7