Skip to content

Commit e35b4cb

Browse files
authored
Merge pull request NVIDIA#1431 from allisonvacanti/legacy_patch_version
Document that the patch number is no longer used.
2 parents 8c34b4d + ad40a29 commit e35b4cb

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,8 +467,8 @@ The version number for a Thrust release uses the following format: `MMM.mmm.ss-p
467467
breaking API, ABI, or semantic changes are made.
468468
* `THRUST_VERSION_SUBMINOR`/`ss`: Subminor version, up to 2 decimal digits. It is incremented
469469
when notable new features or bug fixes or features that are API-backwards-compatible are made.
470-
* `THRUST_PATCH_NUMBER`/`ppp`: Patch number, up to 3 decimal digits. It is incremented if any
471-
change in the repo whatsoever is made and no other version component has been incremented.
470+
* `THRUST_PATCH_NUMBER`/`ppp`: Patch number, up to 3 decimal digits. This is no longer used and
471+
will be zero for all future releases.
472472

473473
The `<thrust/version.h>` header defines `THRUST_*` macros for all of the version components mentioned
474474
above. Additionally, a `THRUST_VERSION` macro is defined, which is an integer literal containing all

thrust/version.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
/*! \def THRUST_PATCH_NUMBER
7171
* \brief The preprocessor macro \p THRUST_PATCH_NUMBER encodes the
7272
* patch number of the Thrust library.
73+
* Legacy; will be 0 for all future releases.
7374
*/
7475
#define THRUST_PATCH_NUMBER 0
7576

0 commit comments

Comments
 (0)