diff --git a/example/Performance/memBW/main.cu b/example/Performance/memBW/main.cu index 459dd6e07194f98f642ad1516f7c05455bd3cd3b..b38b643bf1d40e75e154568935c5325311068953 100644 --- a/example/Performance/memBW/main.cu +++ b/example/Performance/memBW/main.cu @@ -140,12 +140,12 @@ void check_read(in_type & in, out_type & out) float h = in.template get<0>(i)[0]; success &= in.template get<0>(i)[1] == (a+b+c+d+e+f+g+h); - } - if (success == false) - { - std::cout << "FAIL READ" << std::endl; + if (success == false) + { + std::cout << "FAIL READ " << i << in.template get<0>(i)[1] << " != " << a+b+c+d+e+f+g+h << std::endl; exit(1); + } } }