Add print out of number of iterations

This commit is contained in:
Tom Deakin 2016-05-11 11:53:51 +01:00
parent 3227e5dbf0
commit 75ef78495c

View File

@ -72,6 +72,8 @@ int main(int argc, char *argv[])
template <typename T> template <typename T>
void run() void run()
{ {
std::cout << "Running kernels " << num_times << " times" << std::endl;
if (sizeof(T) == sizeof(float)) if (sizeof(T) == sizeof(float))
std::cout << "Precision: float" << std::endl; std::cout << "Precision: float" << std::endl;
else else