ArmNN
 20.02
Version.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 /// Macro utils
9 #define STRINGIFY_VALUE(s) STRINGIFY_MACRO(s)
10 #define STRINGIFY_MACRO(s) #s
11 #define CONCAT_VALUE(a, b, c) CONCAT_MACRO(a, b, c)
12 #define CONCAT_MACRO(a, b, c) a ## b ## c
13 
14 // ArmNN version components
15 #define ARMNN_MAJOR_VERSION 20
16 #define ARMNN_MINOR_VERSION 02
17 #define ARMNN_PATCH_VERSION 00
18 
19 /// ARMNN_VERSION: "YYYYMMPP"
20 /// where:
21 /// YYYY = 4-digit year number
22 /// MM = 2-digit month number
23 /// PP = 2-digit patch number
24 #define ARMNN_VERSION "20" STRINGIFY_VALUE(CONCAT_VALUE(ARMNN_MAJOR_VERSION, ARMNN_MINOR_VERSION, ARMNN_PATCH_VERSION))