Add print out of number of iterations
This commit is contained in:
parent
3227e5dbf0
commit
75ef78495c
2
main.cpp
2
main.cpp
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user