Skip to content

Commit

Permalink
Support xN-transpose benchmarking for problem sizes HW128, 256, and 512.
Browse files Browse the repository at this point in the history
Add support for different problem sizes in the xN transpose benchmark.
The current benchmarking process addresses problem sizes in the 1xx
range, leaving a notable gap before transitioning to a problem size of
1024. This gap impedes a comprehensive evaluation of the correlation
between tile size and problem size. This commit incorporates problem
sizes HW 128, 256, and 512 to offer a more nuanced exploration of the
relationship between tile size and a broader spectrum of problem sizes.

Signed-off-by: Phoebe Chen <[email protected]>
  • Loading branch information
phoebesv committed Dec 14, 2023
1 parent 50b08e4 commit 2538af8
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bench/x16-transpose.cc
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ static void BenchmarkKernelSize(benchmark::internal::Benchmark* b)
b->Args({32, 32});
b->Args({64, 64});
b->Args({117, 117});
b->Args({128, 128});
b->Args({256, 256});
b->Args({512, 512});
b->Args({1024, 1024});
}

Expand Down
2 changes: 2 additions & 0 deletions bench/x32-transpose.cc
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ static void BenchmarkKernelSize(benchmark::internal::Benchmark* b)
b->Args({32, 32});
b->Args({64, 64});
b->Args({128, 128});
b->Args({256, 256});
b->Args({512, 512});
b->Args({1024, 1024});
}

Expand Down
3 changes: 3 additions & 0 deletions bench/x64-transpose.cc
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ static void BenchmarkKernelSize(benchmark::internal::Benchmark* b)
b->Args({32, 32});
b->Args({64, 64});
b->Args({117, 117});
b->Args({128, 128});
b->Args({256, 256});
b->Args({512, 512});
b->Args({1024, 1024});
}

Expand Down
3 changes: 3 additions & 0 deletions bench/x8-transpose.cc
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ static void BenchmarkKernelSize(benchmark::internal::Benchmark* b)
b->Args({32, 32});
b->Args({64, 64});
b->Args({117, 117});
b->Args({128, 128});
b->Args({256, 256});
b->Args({512, 512});
b->Args({1024, 1024});
}

Expand Down

0 comments on commit 2538af8

Please sign in to comment.