| 75 | } |
| 76 | |
| 77 | static void DoRowCumsum(int iters, const string& device, int num_x, int num_y, |
| 78 | bool reverse = false) { |
| 79 | testing::ItemsProcessed(static_cast<int64>(iters) * num_x * num_y); |
| 80 | testing::BytesProcessed(static_cast<int64>(iters) * num_x * num_y * |
| 81 | sizeof(float)); |
| 82 | test::Benchmark(device, RowCumsum(num_x, num_y, reverse)).Run(iters); |
| 83 | } |
| 84 | |
| 85 | static void DoColCumsum(int iters, const string& device, int num_x, int num_y, |
| 86 | bool reverse = false) { |
no test coverage detected