Karl W Schulz
fbf3711eb2
apply formatting
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: b27a2b2c10 ]
2024-03-11 14:19:01 -05:00
Karl W Schulz
9d7dde19b0
refactor setting of local encoding; remove from top-level omniperf
...
wrapper and push into base class via a companion utility function
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: 27a57bdafb ]
2024-03-11 14:19:01 -05:00
Karl W Schulz
aada8d8e92
remove duplicate line after conflict cleanup due to rebase
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: dbba0d418a ]
2024-03-11 14:19:01 -05:00
Karl W Schulz
4aa463a4e6
update log summary at begin of profiling mode
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: 594875a974 ]
2024-03-11 14:19:01 -05:00
Karl W Schulz
1c3eec3f91
enable file-logger in profiling workflow; turn some info messages into debug
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: f4483e3c4e ]
2024-03-11 14:19:01 -05:00
Karl W Schulz
2d84322ea1
update print_status() to use console logger; convert some info logs to debug logs
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: 15c86ba424 ]
2024-03-11 14:19:01 -05:00
Karl W Schulz
fdbc5565f3
rework of logger.py setup to introduce another setup_file_handler() -
...
this function enables file-based logger output for use with profile
mode
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: 505e263279 ]
2024-03-11 14:19:01 -05:00
Karl W Schulz
4969416e5f
use cached loglevel var in arguments to decide on status bar presence
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: a3a0eac80a ]
2024-03-11 14:19:01 -05:00
Karl W Schulz
917b784ead
refactor logging initialization into two steps:
...
(1) setup_logging_handler -> called prior to arg parsing
(2) setup_logging_priority -> called after arg parsing
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: e24e6c35a5 ]
2024-03-11 14:19:01 -05:00
Karl W Schulz
2381bba1cf
apply formatter
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: df4f881ed3 ]
2024-03-11 14:19:01 -05:00
Karl W Schulz
9e06bcb624
adding --quiet and --verbose options to top-level help info; pass
...
quiet arg to setup_logging function
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: 2dd72f7366 ]
2024-03-11 14:19:01 -05:00
Karl W Schulz
975c2dad8b
add quietmode option to setup_logging function
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: abd3d20cb2 ]
2024-03-11 14:19:01 -05:00
Karl W Schulz
a9cda2ad33
add a exit keyword to console_error function; allows multiple error
...
lines prior to code exit
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: 2b24375e8d ]
2024-03-11 14:19:01 -05:00
Karl W Schulz
7756a5b00b
updates for run_prof() routine:
...
* add a profileMode keyword option, used to indent profiling output
* update logic if forked process is not successful, output is
displayed directly with INFO logging or lower; also dispaly output
in ERROR mode if the process fails
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: 377c642ac2 ]
2024-03-11 14:19:01 -05:00
Karl W Schulz
ab3ce5ecb8
remove duplicate process output within run_prof()
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: dcdef37c34 ]
2024-03-11 14:19:01 -05:00
Karl W Schulz
89bc098c59
include ERROR delimiter directly for console_error() messsages
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: 61267ee262 ]
2024-03-11 14:19:01 -05:00
Karl W Schulz
a5e23e17fe
add a profileMode option to capture_subprocess_output() - includes
...
indented output with profiler selection when enabled
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: cc7a725ae8 ]
2024-03-11 14:19:01 -05:00
Karl W Schulz
587d55cd9d
minor refactor of print_status()
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: 6bb4210d94 ]
2024-03-11 14:19:01 -05:00
Karl W Schulz
b948aa6ebf
add indent support to console_log()
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: 63129e4247 ]
2024-03-11 14:19:01 -05:00
Karl W Schulz
890154db8e
include loglevel function argument to "run_prof" routine
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: 34694f86c2 ]
2024-03-11 14:19:01 -05:00
Karl W Schulz
efc9f72f7a
assign loglevel attribute in omniperf base class
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: 48de8ae490 ]
2024-03-11 14:19:01 -05:00
Karl W Schulz
16f580b992
update setup_logging function to return loglevel; disable inclusion of
...
loglevel delimiter in output
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: bdfc536ade ]
2024-03-11 14:19:01 -05:00
Karl W Schulz
a5c9180383
enable a progress bar for running in profile mode - only enabled when
...
loglevel is set to ERROR
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: 47b32cb4b1 ]
2024-03-11 14:19:01 -05:00
Karl W Schulz
82bb59ce76
tighten-up profile usage examples
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: 3e88132d73 ]
2024-03-11 14:19:01 -05:00
colramos-amd
91434bcebf
Fix dangling merge conflict
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: 6c5a3623b6 ]
2024-03-11 14:19:01 -05:00
colramos-amd
98e5e16d0e
Fix python formatting
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: f2aac37178 ]
2024-03-11 14:19:01 -05:00
colramos-amd
6ee27efd16
Resolve merge conflict I missed in prev rebase
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: 99bf4fae09 ]
2024-03-11 14:19:01 -05:00
colramos-amd
00c17f423c
Replaced some straggling print statements with log functions
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: 771644f5f7 ]
2024-03-11 14:19:01 -05:00
colramos-amd
569dff3627
Connect verbosity flag to loglevel
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: 5ed9a5c902 ]
2024-03-11 14:19:01 -05:00
colramos-amd
a1371462ba
All logging should use call new functions
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: 5bf38a4fed ]
2024-03-11 14:19:01 -05:00
colramos-amd
cfdf288cba
Dedicated logging function for each log level
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: 233905071c ]
2024-03-11 14:19:01 -05:00
colramos-amd
39a9961060
Remove outdated remove_workload.py module
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: 0611ce4582 ]
2024-03-11 14:19:01 -05:00
colramos-amd
15aac4690c
Standalone logging module for cleaner omniperf_base.py
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: 2e09f0be7e ]
2024-03-11 14:19:01 -05:00
Jose Santos
ebaf60bcc9
ipblocks to blocks in ctest
...
Signed-off-by: Jose Santos <josantos@amd.com >
[ROCm/rocprofiler-compute commit: ef6152dfa0 ]
2024-03-11 10:04:54 -05:00
Karl W. Schulz
b8a9a8290d
record return status from hipDeviceSynchronize() to avoid compilation warnings ( #305 )
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: a0f5d25f74 ]
2024-03-11 09:30:40 -05:00
Jose Santos
b1f08cc9d8
blocks -> block
...
Signed-off-by: Jose Santos <josantos@amd.com >
[ROCm/rocprofiler-compute commit: f9e806833b ]
2024-03-08 16:27:19 -06:00
Jose Santos
f02945c84d
Typo: Change blocks to block
...
Signed-off-by: Jose Santos <josantos@amd.com >
[ROCm/rocprofiler-compute commit: 09f9b9e544 ]
2024-03-08 16:27:19 -06:00
Karl W Schulz
0c9334e3db
update version of download-artifact
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: ffe08cbbad ]
2024-03-07 17:25:33 -06:00
Karl W Schulz
29756b7c88
fix version for cancel-workflow-action
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: fef48cbc29 ]
2024-03-07 17:13:17 -06:00
Karl W Schulz
d07ab520fa
updating versions for multiple github-actions
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: ce47409fe9 ]
2024-03-07 17:04:15 -06:00
colramos-amd
7cac6db5ab
Remove doc references to deprecated --list-kernels option
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: 9e6b293249 ]
2024-03-07 15:48:26 -06:00
Jose Santos
1eda63c1d2
Change ipblocks flag to --blocks
...
Signed-off-by: Jose Santos <josantos@amd.com >
[ROCm/rocprofiler-compute commit: 66696f852b ]
2024-03-07 15:26:40 -06:00
Jose Santos
28ead69dd8
update workloads]
...
Signed-off-by: Jose Santos <josantos@amd.com >
[ROCm/rocprofiler-compute commit: 35ef8c0707 ]
2024-03-07 15:26:40 -06:00
Karl W Schulz
83790a8adf
enable rocm 6.x testing
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: afea510551 ]
2024-03-07 11:35:50 -06:00
colramos-amd
f2c8a35887
Ensure sort on rocprof input ( #304 )
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: e538d3ea16 ]
2024-03-06 17:05:24 -06:00
Cole Ramos
4585750893
Force encoding before Omniperf execution ( #299 )
...
* Force encoding before Omniperf execution
Signed-off-by: colramos-amd <colramos@amd.com >
* Fix circular dependency in utils module
Signed-off-by: colramos-amd <colramos@amd.com >
---------
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: f4511e7280 ]
2024-03-06 17:01:07 -06:00
Nick Curtis
0ddd23b55f
handle case where workload dir is symlink ( #297 )
...
Signed-off-by: Nicholas Curtis <nicurtis@amd.com >
Co-authored-by: Nicholas Curtis <nicurtis@amd.com >
[ROCm/rocprofiler-compute commit: 525eb3f527 ]
2024-03-06 12:08:16 -06:00
Jason Ray
af6567ebdb
bump statman-stopwatch to 2.18 ( #220 )
...
* Lock Pandas to version 1.4.3 for tutorial
Signed-off-by: colramos-amd <colramos@amd.com >
* Establish connection between kernel related flags in Analyze Mode (#187 )
Signed-off-by: colramos-amd <colramos@amd.com >
* Fixing bug in kernel/dispatch filter pytest
Signed-off-by: colramos-amd <colramos@amd.com >
* More CI logic errors fixed
Signed-off-by: colramos-amd <colramos@amd.com >
* Update CHANGES
Signed-off-by: Cole Ramos <colramos@amd.com >
* Update CHANGES
Signed-off-by: Cole Ramos <colramos@amd.com >
* Update README.md
Signed-off-by: Cole Ramos <colramos@amd.com >
* bump statman-stopwatch to 2.18
Signed-off-by: Jason Ray <jayray.net@gmail.com >
* Fix merge mistakes
Signed-off-by: colramos-amd <colramos@amd.com >
---------
Signed-off-by: colramos-amd <colramos@amd.com >
Signed-off-by: Cole Ramos <colramos@amd.com >
Signed-off-by: Jason Ray <jayray.net@gmail.com >
Co-authored-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: 994aea9f0e ]
2024-03-05 11:16:23 -06:00
colramos-amd
7a8bf7f720
Account for missing GRBM_GUI_ACTIVE in roof-only mode ( #103 )
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: a44e07d928 ]
2024-03-05 10:43:24 -06:00
colramos-amd
66093148dc
Move away from 'ipblock' terminology to more general 'hardware block' ( #201 )
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: c7c5a67911 ]
2024-03-04 16:41:40 -06:00