| 83 | } |
| 84 | |
| 85 | static void DoColCumsum(int iters, const string& device, int num_x, int num_y, |
| 86 | bool reverse = false) { |
| 87 | testing::ItemsProcessed(static_cast<int64>(iters) * num_x * num_y); |
| 88 | testing::BytesProcessed(static_cast<int64>(iters) * num_x * num_y * |
| 89 | sizeof(float)); |
| 90 | test::Benchmark(device, ColCumsum(num_x, num_y, reverse)).Run(iters); |
| 91 | } |
| 92 | |
| 93 | static void Do3DYCumsum(int iters, const string& device, int num_x, int num_y, |
| 94 | bool reverse = false) { |
no test coverage detected