XArith
version.hpp File Reference

XArith header and linked device library version information. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 xarith
 

Macros

#define XARITH_VERSION_MAJOR   0
 
#define XARITH_VERSION_MINOR   3
 
#define XARITH_VERSION_PATCH   0
 
#define XARITH_VERSION   "0.3.0"
 
#define XARITH_GIT_COMMIT   "9f1ecea9"
 

Functions

const char * xarith::get_version () noexcept
 Get the linked device library's major.minor.patch version. More...
 
const char * xarith::get_git_commit () noexcept
 Get the library's short Git commit hash, or "unknown" without Git metadata. More...
 

Detailed Description

XArith header and linked device library version information.

The macros describe the headers used to compile the caller and can be read on the host or device. The functions describe the device library linked into the kernel; they are not host-callable and require no VPE context.

Definition in file version.hpp.

Macro Definition Documentation

◆ XARITH_GIT_COMMIT

#define XARITH_GIT_COMMIT   "9f1ecea9"

Definition at line 20 of file version.hpp.

◆ XARITH_VERSION

#define XARITH_VERSION   "0.3.0"

Definition at line 19 of file version.hpp.

◆ XARITH_VERSION_MAJOR

#define XARITH_VERSION_MAJOR   0

Definition at line 16 of file version.hpp.

◆ XARITH_VERSION_MINOR

#define XARITH_VERSION_MINOR   3

Definition at line 17 of file version.hpp.

◆ XARITH_VERSION_PATCH

#define XARITH_VERSION_PATCH   0

Definition at line 18 of file version.hpp.