-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #95 from tingxingdong/develop
add batched gemm in google tester; add a ploting python script
- Loading branch information
Showing
9 changed files
with
71 additions
and
301 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
|
||
Instruction to run the script to collect performance data | ||
Instruction to run the python script to collect performance data | ||
|
||
1) copy client.exe (Windows, client on Linux) to this folder | ||
1) copy client.exe (Windows, client on Linux) to this folder | ||
For example, "cp ../client ./" on linux | ||
|
||
2) "python measurePerformance.py --help" to see how to run the command line mode | ||
For example, "python measurePerformance.py -s 64-5760:64 -f gemm -r s --transa none --transb transpose > sgemm.txt" | ||
will collect performance of sgemm NT of square matrices [64:5760] with step 64. | ||
All the output will be dumped into sgemm.txt | ||
|
||
3) Open the sgemm.txt and use "grep" to fetch the performance line. You can extract the Gflop/s number from the performance line | ||
3) Plot the figure by refactoring with plotPerformance.py provided. | ||
"python plotPerformance.py" by default | ||
will read step (2) output sgemm.txt and plot a performance figure in sgemm.pdf | ||
|
||
4) You can ingore the other automatic generated .txt files and folders during the run. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.