Fix the smoother benchmark
This commit is contained in:
parent
2338bd8160
commit
a4f43cabd0
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ public:
|
||||||
input = std::vector<float>(state.range(0));
|
input = std::vector<float>(state.range(0));
|
||||||
output = std::vector<float>(state.range(0));
|
output = std::vector<float>(state.range(0));
|
||||||
std::generate(input.begin(), input.end(), [&]() { return dist(gen); });
|
std::generate(input.begin(), input.end(), [&]() { return dist(gen); });
|
||||||
sfz::cumsum<float, false>(input, absl::MakeSpan(input));
|
sfz::cumsum<float>(input, absl::MakeSpan(input));
|
||||||
}
|
}
|
||||||
|
|
||||||
void TearDown(const ::benchmark::State& /* state */)
|
void TearDown(const ::benchmark::State& /* state */)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue