diff --git a/src/common.h b/src/common.h index 02d43a2..c4bdadb 100644 --- a/src/common.h +++ b/src/common.h @@ -1,2 +1,4 @@ #define VERSION_STRING "2.0" +#define IMPLEMENTATION_STRING "CUDA" + diff --git a/src/main.cpp b/src/main.cpp index 50bc51f..71cb478 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -16,7 +16,6 @@ const unsigned int ARRAY_SIZE = 52428800; const unsigned int ntimes = 10; -#define IMPLEMENTATION_STRING "CUDA" template void check_solution(const unsigned int ntimes, std::vector& a, std::vector& b, std::vector& c); @@ -25,7 +24,7 @@ int main(int argc, char *argv[]) { std::cout << "GPU-STREAM" << std::endl - << "Version:" << VERSION_STRING << std::endl + << "Version: " << VERSION_STRING << std::endl << "Implementation: " << IMPLEMENTATION_STRING << std::endl;