1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#include <thrust/version.h>
#include <cusp/version.h>
#include <iostream>
int main(void)
{
std::cout << "The following libraries were found:" << std::endl;
std::cout << " CUDA v" << (CUDA_VERSION / 1000) << "." <<
(CUDA_VERSION % 1000) / 10 << std::endl;
std::cout << " Thrust v" << THRUST_MAJOR_VERSION << "." <<
THRUST_MINOR_VERSION << "." <<
THRUST_SUBMINOR_VERSION << std::endl;
std::cout << " Cusp v" << CUSP_MAJOR_VERSION << "." <<
CUSP_MINOR_VERSION << "." <<
CUSP_SUBMINOR_VERSION << std::endl;
return 0;
}
|