File: version.cu

package info (click to toggle)
cccl 2.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 39,248 kB
  • sloc: cpp: 264,457; python: 6,421; sh: 2,762; perl: 460; makefile: 114; xml: 13
file content (15 lines) | stat: -rw-r--r-- 337 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <thrust/version.h>

#include <iostream>

int main()
{
  int major    = THRUST_MAJOR_VERSION;
  int minor    = THRUST_MINOR_VERSION;
  int subminor = THRUST_SUBMINOR_VERSION;
  int patch    = THRUST_PATCH_NUMBER;

  std::cout << "Thrust v" << major << "." << minor << "." << subminor << "-" << patch << std::endl;

  return 0;
}