Skip to content

Commit b89d605

Browse files
authored
batched-bench : fix pp batch contents (#13492)
1 parent b472634 commit b89d605

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/batched-bench/batched-bench.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ int main(int argc, char ** argv) {
123123

124124
common_batch_clear(batch);
125125

126-
for (int i = 0; i < pp; ++i) {
127-
for (int j = 0; j < (is_pp_shared ? 1 : pl); ++j) {
126+
for (int j = 0; j < (is_pp_shared ? 1 : pl); ++j) {
127+
for (int i = 0; i < pp; ++i) {
128128
common_batch_add(batch, 0, i, { j }, false);
129129
}
130130
}

0 commit comments

Comments
 (0)