| 335 | } |
| 336 | |
| 337 | static void BM_AddSign(int iters, int params) { |
| 338 | const int64 tot = static_cast<int64>(iters) * params; |
| 339 | testing::ItemsProcessed(tot); |
| 340 | testing::BytesProcessed(tot * sizeof(float)); |
| 341 | Graph* init; |
| 342 | Graph* train; |
| 343 | AddSign(params, &init, &train); |
| 344 | test::Benchmark("cpu", train, GetOptions(), init).Run(iters); |
| 345 | } |
| 346 | BENCHMARK(BM_AddSign)->Arg(128 << 10)->Arg(256 << 10); |
| 347 | |
| 348 | static void PowerSign(int32 n, Graph** init_g, Graph** train_g) { |
nothing calls this directly
no test coverage detected