Print out NTIMES

This commit is contained in:
Tom Deakin 2015-07-30 13:23:31 +01:00
parent b339e374eb
commit b891f0bf29
2 changed files with 4 additions and 0 deletions

View File

@ -73,6 +73,8 @@ int main(int argc, char *argv[])
else std::cout << "double"; else std::cout << "double";
std::cout << std::endl << std::endl; std::cout << std::endl << std::endl;
std::cout << "Running kernels " << NTIMES << " times" << std::endl;
if (ARRAY_SIZE % 1024 != 0) if (ARRAY_SIZE % 1024 != 0)
{ {
unsigned int OLD_ARRAY_SIZE = ARRAY_SIZE; unsigned int OLD_ARRAY_SIZE = ARRAY_SIZE;

View File

@ -57,6 +57,8 @@ int main(int argc, char *argv[])
else std::cout << "double"; else std::cout << "double";
std::cout << std::endl << std::endl; std::cout << std::endl << std::endl;
std::cout << "Running kernels " << NTIMES << " times" << std::endl;
if (ARRAY_SIZE % 1024 != 0) if (ARRAY_SIZE % 1024 != 0)
{ {
unsigned int OLD_ARRAY_SIZE = ARRAY_SIZE; unsigned int OLD_ARRAY_SIZE = ARRAY_SIZE;