MCPcopy Create free account
hub / github.com/apache/arrow / SetArgs

Function SetArgs

cpp/src/arrow/tensor_benchmark.cc:86–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void 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
95BENCHMARK_TEMPLATE(BatchToTensorSimple, Int8Type)->Apply(SetArgs);
96BENCHMARK_TEMPLATE(BatchToTensorSimple, Int16Type)->Apply(SetArgs);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected