File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 42
42
__TBB_VERSION_SUFFIX
43
43
44
44
// OneAPI oneTBB specification version
45
- #define ONETBB_SPEC_VERSION "1.0"
45
+ #define ONETBB_SPEC_VERSION 104
46
46
// Full interface version
47
47
#define TBB_INTERFACE_VERSION 12150
48
48
// Major interface version
62
62
//TBB_REVAMP_TODO: consider enabling version_string.ver generation
63
63
//TBB_REVAMP_TODO: #include "version_string.ver"
64
64
65
- #define __TBB_ONETBB_SPEC_VERSION (N ) #N ": SPECIFICATION VERSION\t" ONETBB_SPEC_VERSION TBB_ENDL
65
+ #define __TBB_ONETBB_SPEC_VERSION (N ) #N ": SPECIFICATION VERSION\t" __TBB_STRING( ONETBB_SPEC_VERSION) TBB_ENDL
66
66
#define __TBB_VERSION_NUMBER (N ) #N ": VERSION\t\t" TBB_VERSION_STRING TBB_ENDL
67
67
#define __TBB_INTERFACE_VERSION_NUMBER (N ) #N ": INTERFACE VERSION\t" __TBB_STRING(TBB_INTERFACE_VERSION) TBB_ENDL
68
68
Original file line number Diff line number Diff line change 1
1
/*
2
- Copyright (c) 2020-2023 Intel Corporation
2
+ Copyright (c) 2020-2025 Intel Corporation
3
3
4
4
Licensed under the Apache License, Version 2.0 (the "License");
5
5
you may not use this file except in compliance with the License.
25
25
// ! Testing the match of compile-time oneTBB specification version
26
26
// ! \brief \ref requirement \ref interface
27
27
TEST_CASE (" Test specification version" ) {
28
- const char * expected = " 1.0 " ;
29
- REQUIRE_MESSAGE (std::strcmp (expected, ONETBB_SPEC_VERSION) == 0 ,
28
+ int expected = 104 ;
29
+ REQUIRE_MESSAGE (ONETBB_SPEC_VERSION == expected ,
30
30
" Expected and actual specification versions do not match." );
31
31
}
32
32
You can’t perform that action at this time.
0 commit comments