| 84 | } |
| 85 | |
| 86 | void SetArgs(benchmark::internal::Benchmark* bench) { |
| 87 | for (int64_t size : {kL1Size, kL2Size}) { |
| 88 | for (int64_t num_columns : {3, 30, 300}) { |
| 89 | bench->Args({size, num_columns}); |
| 90 | bench->ArgNames({"size", "num_columns"}); |
| 91 | } |
| 92 | } |
| 93 | } |
| 94 | |
| 95 | BENCHMARK_TEMPLATE(BatchToTensorSimple, Int8Type)->Apply(SetArgs); |
| 96 | BENCHMARK_TEMPLATE(BatchToTensorSimple, Int16Type)->Apply(SetArgs); |
nothing calls this directly
no outgoing calls
no test coverage detected