Skip to content

Commit

Permalink
Fix the benchmark performance number
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: pytorch#188

Reviewed By: jspark1105

Differential Revision: D18500408

fbshipit-source-id: 6366ae9791738a023f9dc121424206476f048ae7
  • Loading branch information
jianyuh authored and facebook-github-bot committed Nov 14, 2019
1 parent 7e35fa8 commit 15b4a70
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions bench/PackedFloatInOutBenchmark.cc
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ void performance_test() {
NWARMUP,
NITER,
flush ? &llc : nullptr);
ttot *= 1e9; // convert to ns

((volatile char*)(llc.data()));
cout << setw(5) << m << ", " << setw(5) << n << ", " << setw(5) << k << ", "
Expand Down
1 change: 1 addition & 0 deletions bench/PackedRequantizeAcc16Benchmark.cc
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ void performance_test() {
NWARMUP,
NITER,
flush ? &llc : nullptr);
ttot *= 1e9; // convert to ns

((volatile char*)(llc.data()));
cout << setw(16) << runType << ", " << fixed << setw(5) << setprecision(1)
Expand Down
1 change: 1 addition & 0 deletions bench/PackedRequantizeAcc32Benchmark.cc
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ void performance_test() {
NWARMUP,
NITER,
flush ? &llc : nullptr);
ttot *= 1e9; // convert to ns

((volatile char*)(llc.data()));

Expand Down

0 comments on commit 15b4a70

Please sign in to comment.