Skip to content

Commit a690f84

Browse files
Update submodules: Boost.Math 1.90.0, Google Benchmark 1.9.5, LLVM (#6058)
1 parent 7f083b9 commit a690f84

23 files changed

+28
-27
lines changed

benchmarks/google-benchmark

Submodule google-benchmark updated 92 files

benchmarks/src/adjacent_difference.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ void bm(benchmark::State& state) {
4040
}
4141
}
4242

43-
void common_args(auto bm) {
43+
void common_args(benchmark::Benchmark* bm) {
4444
bm->Arg(2255);
4545
}
4646

benchmarks/src/adjacent_find.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ void bm(benchmark::State& state) {
4141
}
4242
}
4343

44-
void common_args(auto bm) {
44+
void common_args(benchmark::Benchmark* bm) {
4545
bm->ArgPair(2525, 1142);
4646
}
4747

benchmarks/src/find_and_count.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@ void bm(benchmark::State& state) {
6666
}
6767
}
6868

69-
void common_args(auto bm) {
69+
void common_args(benchmark::Benchmark* bm) {
7070
bm->Args({8021, 3056});
7171
// AVX tail tests
7272
bm->Args({63, 62})->Args({31, 30})->Args({15, 14})->Args({7, 6});
7373
}
7474

7575
struct point {
76-
int16_t x;
77-
int16_t y;
76+
int16_t x{};
77+
int16_t y{};
7878

7979
bool operator==(const point&) const = default;
8080
};

benchmarks/src/find_first_of.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ void bm(benchmark::State& state) {
8181
}
8282
}
8383

84-
void common_args(auto bm) {
84+
void common_args(benchmark::Benchmark* bm) {
8585
bm->Args({2, 3})->Args({6, 81})->Args({7, 4})->Args({9, 3})->Args({22, 5})->Args({58, 2});
8686
bm->Args({75, 85})->Args({102, 4})->Args({200, 46})->Args({325, 1})->Args({400, 50});
8787
bm->Args({1011, 11})->Args({1280, 46})->Args({1502, 23})->Args({2203, 54})->Args({3056, 7});

benchmarks/src/includes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ void bm_includes(benchmark::State& state) {
9696
}
9797
}
9898

99-
void common_args(auto bm) {
99+
void common_args(benchmark::Benchmark* bm) {
100100
for (const auto& spread :
101101
{needle_spread::dense, needle_spread::dense_random, needle_spread::sparse, needle_spread::sparse_random}) {
102102
for (const auto& expected_match : {true, false}) {

benchmarks/src/iota.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ void bm(benchmark::State& state) {
3131
}
3232
}
3333

34-
void common_args(auto bm) {
34+
void common_args(benchmark::Benchmark* bm) {
3535
bm->Arg(7)->Arg(18)->Arg(43)->Arg(131)->Arg(315)->Arg(1212);
3636
}
3737

benchmarks/src/is_sorted_until.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ void bm_is_sorted_until(benchmark::State& state) {
4343
}
4444
}
4545

46-
void common_args(auto bm) {
46+
void common_args(benchmark::Benchmark* bm) {
4747
bm->ArgPair(3000, 1800);
4848
}
4949

benchmarks/src/minmax_element.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ void bm(benchmark::State& state) {
5757
}
5858

5959
template <size_t ElementSize>
60-
void common_arg(auto bm) {
60+
void common_arg(benchmark::Benchmark* bm) {
6161
bm->Arg(8021);
6262
// AVX tail tests
6363
bm->Arg(63 / ElementSize);

benchmarks/src/mismatch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void bm(benchmark::State& state) {
4848
}
4949
}
5050

51-
void common_args(auto bm) {
51+
void common_args(benchmark::Benchmark* bm) {
5252
bm->Args({8, 3})->Args({24, 22})->Args({105, -1})->Args({4021, 3056});
5353
}
5454

0 commit comments

Comments
 (0)