| 109 | } |
| 110 | |
| 111 | static void Do3DYReduce(int iters, const string& device, const string& reduce, |
| 112 | int num_x, int num_y) { |
| 113 | testing::ItemsProcessed(static_cast<int64>(iters) * num_x * num_y); |
| 114 | testing::BytesProcessed(static_cast<int64>(iters) * num_x * num_y * |
| 115 | sizeof(float)); |
| 116 | test::Benchmark(device, ThreeDYReduce(reduce, num_x, num_y)).Run(iters); |
| 117 | } |
| 118 | |
| 119 | static void Do3DXZReduce(int iters, const string& device, const string& reduce, |
| 120 | int num_x, int num_y) { |
no test coverage detected