Print out NTIMES
This commit is contained in:
parent
b339e374eb
commit
b891f0bf29
@ -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;
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user