Move implementation string to the common header file

This commit is contained in:
Tom Deakin 2016-04-28 11:15:25 +01:00
parent daa7f643b9
commit 377b348748
2 changed files with 3 additions and 2 deletions

View File

@ -1,2 +1,4 @@
#define VERSION_STRING "2.0"
#define IMPLEMENTATION_STRING "CUDA"

View File

@ -16,7 +16,6 @@
const unsigned int ARRAY_SIZE = 52428800;
const unsigned int ntimes = 10;
#define IMPLEMENTATION_STRING "CUDA"
template <typename T>
void check_solution(const unsigned int ntimes, std::vector<T>& a, std::vector<T>& b, std::vector<T>& c);