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
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
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
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
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
9ff07b51ff
Python formatting
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: d6f45411eb ]
2024-03-01 15:50:42 -06:00
Nicholas Curtis
dcb928b7c7
Re-implement machine-specs to contain documentation, units, etc. Print using tabulate
...
Signed-off-by: Nicholas Curtis <nicurtis@amd.com >
[ROCm/rocprofiler-compute commit: 200961ffd9 ]
2024-03-01 15:50:42 -06:00
Nicholas Curtis
e44e85625a
fix warning about unescaped control sequence
...
Signed-off-by: Nicholas Curtis <nicurtis@amd.com >
[ROCm/rocprofiler-compute commit: a25da8d954 ]
2024-03-01 15:50:42 -06:00
colramos-amd
78b668f128
Enhance correct_sys_info() func and err checking
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: c17e39189f ]
2024-03-01 15:50:42 -06:00
colramos-amd
2ecc5a4246
Renaming global spec vars. Replacing L2Banks with total_l2_chan ( #251 )
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: 86b6c8e848 ]
2024-03-01 15:50:42 -06:00
colramos-amd
5352eafde4
Reorganize the specs module to reduce duplicate code
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: 3b1b8d7b5b ]
2024-03-01 15:50:42 -06:00
Karl W Schulz
4bfcf9b8a8
code formatting updates
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: 79b877d679 ]
2024-02-22 16:02:25 -06:00
colramos-amd
d8608a07a2
Enable database mode
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: e1867d34d3 ]
2024-01-30 10:43:30 -06:00
Karl W. Schulz
05b2113af4
update headers for 2024 calendar year
...
Signed-off-by: Karl W. Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: d7b6cf81e6 ]
2024-01-24 17:50:31 -06:00
colramos-amd
ee21c4d5ba
Responding to Karls review
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: e5ac5ccf7d ]
2024-01-24 16:30:04 -06:00
colramos-amd
662c4abf68
Add implementation for gfx940 arch
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: a15857cd1d ]
2024-01-24 16:30:04 -06:00
colramos-amd
d9c5cd355a
Adding support for Mi300X-A0
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: f229b36277 ]
2024-01-24 16:30:04 -06:00
colramos-amd
18e3b98535
Update headers based on latest rocprofv2 output. Overwrite old headers.
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: a171e776e4 ]
2024-01-24 16:30:04 -06:00
coleramos425
afa73c9e9b
Build out gfx942 SoC class and improve SoC detection
...
Signed-off-by: coleramos425 <colramos@amd.com >
[ROCm/rocprofiler-compute commit: 7846a663fd ]
2024-01-24 16:30:04 -06:00
coleramos425
a75180dbd2
Add options for --specs and --specs-correction
...
Co-authored-by: fei.zheng <fei.zheng@amd.com >
Signed-off-by: coleramos425 <colramos@amd.com >
[ROCm/rocprofiler-compute commit: 224d627438 ]
2024-01-24 16:30:04 -06:00
colramos-amd
3bc71d87e9
Optimizations to run_prof() utility
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: a1b5c252e2 ]
2024-01-24 16:30:04 -06:00
colramos-amd
84748197bf
Adding sbios, vbios, and partitioning info to specs. Also reorganizing fields.
...
Co-authored-by: fei.zheng <fei.zheng@amd.com >
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: 987f612489 ]
2024-01-24 16:30:04 -06:00
Cole Ramos
c73bd2bf91
Enabling Standalone GUI on 2.x ( #214 )
...
* Initial overhaul of Analyze mode. Basic CLI is enabled.
Signed-off-by: colramos-amd <colramos@amd.com >
* Merge branch '2.x' of github.com:AMDResearch/omniperf into 2.x-dev
Signed-off-by: colramos-amd <colramos@amd.com >
* fix comment typo
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
* Move error logging to util.py
Signed-off-by: colramos-amd <colramos@amd.com >
* Move perfmon_configs dir into omniperf_soc dir. Rename config dirs for clarity
Signed-off-by: colramos-amd <colramos@amd.com >
* Add a supported_archs property to Omniperf base class
Signed-off-by: colramos-amd <colramos@amd.com >
* Add css assets for GUI styling
Signed-off-by: colramos-amd <colramos@amd.com >
* Re-organize roofline class. Improved useability
Signed-off-by: colramos-amd <colramos@amd.com >
* Enable standalone GUI
Signed-off-by: colramos-amd <colramos@amd.com >
* Remove outdated metric_configs. This was moved to omniperf_soc dir
Signed-off-by: colramos-amd <colramos@amd.com >
* Fix small bug in GUI to enable Mi100 visualization
Signed-off-by: colramos-amd <colramos@amd.com >
---------
Signed-off-by: colramos-amd <colramos@amd.com >
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
Signed-off-by: Cole Ramos <colramos@amd.com >
Co-authored-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: 7d93a086c2 ]
2023-12-18 14:37:01 -08:00
colramos-amd
3374ead0a9
Add a supported_archs property to Omniperf base class
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: 97c5b2c0a1 ]
2023-12-11 16:49:06 -06:00
colramos-amd
19492730f3
Move perfmon_configs dir into omniperf_soc dir. Rename config dirs for clarity
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: fbe6b2d683 ]
2023-12-11 16:49:06 -06:00
colramos-amd
8540fde54a
Move error logging to util.py
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: b99d448d3b ]
2023-12-11 16:49:06 -06:00
Karl W Schulz
d4d22af34a
fix comment typo
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: eaae69e2a6 ]
2023-12-11 16:49:06 -06:00
colramos-amd
42b6336cb5
Initial overhaul of Analyze mode. Basic CLI is enabled.
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: 57a63b6eb1 ]
2023-12-11 16:49:06 -06:00
colramos-amd
94f61de5dd
Cache ascii art in source and remove ascii dependency
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: 9a66f66ebc ]
2023-12-01 13:28:56 -06:00
colramos-amd
ec13e780d9
Initial overhaul of Profile mode
...
Signed-off-by: colramos-amd <colramos@amd.com >
[ROCm/rocprofiler-compute commit: 87388227ca ]
2023-10-31 15:11:17 -05:00
Karl W. Schulz
ca7759590f
Addition of new files to demonstrate top-level data structure refactoring for
...
2.x version. Introduces an Omniperf class as the primary structure to organize
work elements and allows for a simple main() which is highlighted in a
omniperf2 example. Demonstrates desired logger functionality including a custom
trace loglevel that can be used to provide more verbosity beyond the debug
level. Also introduces three abstract base classes to organize flexibility for
alternative implementations of key elements within omniperf:
* underlying profiler tool (e.g. rocprof, rocscope, etc)
* supported GPU architectures (SoC)
* analysis environments (e.g. CLI, web-based, etc)
Stub examples for child classes relevant to currently supported options within
omniperf are included in separate files.
Signed-off-by: Karl W. Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: c55508dfe6 ]
2023-10-04 09:52:50 -05:00