THRUST_VERSION

Defined in thrust/version.h

THRUST_VERSION

The preprocessor macro THRUST_VERSION encodes the version number of the Thrust library as MMMmmmpp.

Note

THRUST_VERSION is formatted as MMMmmmpp, which differs from CCCL_VERSION that uses MMMmmmppp.

   <tt>THRUST_VERSION % 100</tt> is the sub-minor version.
   <tt>THRUST_VERSION / 100 % 1000</tt> is the minor version.
   <tt>THRUST_VERSION / 100000</tt> is the major version.