File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -3436,6 +3436,11 @@ and <tt>hwloc_get_api_version()</tt> came only in 1.1.1.
3436
3436
Also do not use the old cpuset API since it was deprecated and superseded
3437
3437
by the bitmap API in 1.1, and later removed in 1.5.
3438
3438
3439
+ If you ever need to look at the library version instead of the API version,
3440
+ you may want to use HWLOC_VERSION instead.
3441
+ Two stable releases of the same series usually have the same ::HWLOC_API_VERSION
3442
+ even if their HWLOC_VERSION are different.
3443
+
3439
3444
3440
3445
3441
3446
\htmlonly
Original file line number Diff line number Diff line change @@ -87,6 +87,10 @@ extern "C" {
87
87
*
88
88
* Users may check for available features at build time using this number
89
89
* (see \ref faq_upgrade).
90
+ *
91
+ * \note This should not be confused with HWLOC_VERSION, the library version.
92
+ * Two stable releases of the same series usually have the same ::HWLOC_API_VERSION
93
+ * even if their HWLOC_VERSION are different.
90
94
*/
91
95
#define HWLOC_API_VERSION 0x00020100
92
96
You can’t perform that action at this time.
0 commit comments