Graphe des révisions
47 Révisions
Auteur SHA1 Message Date
coleramos425 e0556f32ab Move dispatch id patch to proper util func in utils. Enable in rocprofv2 post-processing
Signed-off-by: coleramos425 <colramos@amd.com>
2024-04-01 14:30:21 -05:00
Nick CurtisetNicholas Curtis a1017b68e9 implement rocprofv2 workaround for dispatch ids (#336)
* implement rocprofv2 workaround for dispatch ids

Signed-off-by: Nicholas Curtis <nicurtis@amd.com>

* formatting

Signed-off-by: Nicholas Curtis <nicurtis@amd.com>

---------

Signed-off-by: Nicholas Curtis <nicurtis@amd.com>
Co-authored-by: Nicholas Curtis <nicurtis@amd.com>
2024-04-01 14:30:21 -05:00
colramos-amd 78c48eaed5 Remove superfluous logging statement
Signed-off-by: colramos-amd <colramos@amd.com>
2024-04-01 14:30:21 -05:00
Cole Ramos f7394bf272 Revert #333 deterministic ordering (#337)
* Revert "formatting"

This reverts commit e387561791898467371b6219921f10447d3486b3.

* Revert "Implement deterministic ordering of perfmon"

This reverts commit 2a24600a37c8002838145962a957cea447555b0c.
2024-04-01 14:30:21 -05:00
Nicholas Curtis 97af96e435 Implement deterministic ordering of perfmon
Signed-off-by: Nicholas Curtis <nicurtis@amd.com>
2024-04-01 14:30:21 -05:00
colramos-amd 20670da2b7 Responding to first round of Ben R.'s docs feedback.\n\nThis round includes fixes for comments up to the 'Performance Model' section. I will need to work with our documentation group to respond to those higher level comments.
Signed-off-by: colramos-amd <colramos@amd.com>
2024-04-01 14:30:21 -05:00
colramos-amd dfdd8dd21d Add timestamp override to rocprofv2 and format Python
Signed-off-by: colramos-amd <colramos@amd.com>
2024-04-01 14:30:21 -05:00
colramos-amd 2acc8e98c1 Found a bug in kernel filtering and fixed
Signed-off-by: colramos-amd <colramos@amd.com>
2024-03-12 18:21:35 -05:00
JoseSantosAMDetCole Ramos 4424f320ad Kernel no overwrite (#303)
* Removing kernel name shortener from profile

-  Kernel name shortener now in analyze
-  db import uses pymongo to import

Signed-off-by: Jose Santos <josantos@amd.com>

* collections now added using pymongo

Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>

* kernel_name_shortener shortens dataframes and not a workload

-  argparser: --kernel-verbose to connection group
-  analysis_cli, profiler_rocprof_v2: remove kernel_name_shortener, so that it doesnt overwrite workload
-  db_import: demangle kernel_name dfs

Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>

* fix db name in pymongo command

Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>

* reformat

Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>

* fix typo

Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>

* remove checker for verbose in profiler_base

Signed-off-by: Jose Santos <josantos@amd.com>

* kernel_name_shortener now called in create_df_kerenel_top_stats and
create_df_pmc

Signed-off-by: Jose Santos <josantos@amd.com>

* add kernel_verbose to analysis_webui, remove stubbed values

Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>

* Update src/utils/kernel_name_shortener.py

keep console_debug

Co-authored-by: Cole Ramos <colramos@amd.com>
Signed-off-by: JoseSantosAMD <87447437+JoseSantosAMD@users.noreply.github.com>

* Update src/utils/kernel_name_shortener.py

Co-authored-by: Cole Ramos <colramos@amd.com>
Signed-off-by: JoseSantosAMD <87447437+JoseSantosAMD@users.noreply.github.com>

---------

Signed-off-by: Jose Santos <josantos@amd.com>
Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>
Signed-off-by: JoseSantosAMD <87447437+JoseSantosAMD@users.noreply.github.com>
Co-authored-by: Cole Ramos <colramos@amd.com>
2024-03-12 15:54:52 -05:00
Karl W. SchulzetCole Ramos e8ca48dc83 Update src/omniperf_profile/profiler_rocscope.py
Co-authored-by: Cole Ramos <colramos@amd.com>
Signed-off-by: Karl W. Schulz <koomie@users.noreply.github.com>
2024-03-11 14:19:01 -05:00
Karl W. SchulzetCole Ramos 8856480808 Update src/omniperf_profile/profiler_base.py
Co-authored-by: Cole Ramos <colramos@amd.com>
Signed-off-by: Karl W. Schulz <koomie@users.noreply.github.com>
2024-03-11 14:19:01 -05:00
Karl W. SchulzetCole Ramos af3f006a7e Update src/omniperf_profile/profiler_rocscope.py
Co-authored-by: Cole Ramos <colramos@amd.com>
Signed-off-by: Karl W. Schulz <koomie@users.noreply.github.com>
2024-03-11 14:19:01 -05:00
Karl W. SchulzetCole Ramos f6d996b085 Update src/omniperf_profile/profiler_base.py
Co-authored-by: Cole Ramos <colramos@amd.com>
Signed-off-by: Karl W. Schulz <koomie@users.noreply.github.com>
2024-03-11 14:19:01 -05:00
Karl W Schulz b27a2b2c10 apply formatting
Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
2024-03-11 14:19:01 -05:00
Karl W Schulz dbba0d418a remove duplicate line after conflict cleanup due to rebase
Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
2024-03-11 14:19:01 -05:00
Karl W Schulz 594875a974 update log summary at begin of profiling mode
Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
2024-03-11 14:19:01 -05:00
Karl W Schulz a3a0eac80a use cached loglevel var in arguments to decide on status bar presence
Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
2024-03-11 14:19:01 -05:00
Karl W Schulz 34694f86c2 include loglevel function argument to "run_prof" routine
Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
2024-03-11 14:19:01 -05:00
Karl W Schulz 47b32cb4b1 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>
2024-03-11 14:19:01 -05:00
colramos-amd 6c5a3623b6 Fix dangling merge conflict
Signed-off-by: colramos-amd <colramos@amd.com>
2024-03-11 14:19:01 -05:00
colramos-amd f2aac37178 Fix python formatting
Signed-off-by: colramos-amd <colramos@amd.com>
2024-03-11 14:19:01 -05:00
colramos-amd 5bf38a4fed All logging should use call new functions
Signed-off-by: colramos-amd <colramos@amd.com>
2024-03-11 14:19:01 -05:00
colramos-amd e538d3ea16 Ensure sort on rocprof input (#304)
Signed-off-by: colramos-amd <colramos@amd.com>
2024-03-06 17:05:24 -06:00
coleramos425 1dc4553091 CMake and Python format
Signed-off-by: coleramos425 <colramos@amd.com>
2024-03-01 15:50:42 -06:00
coleramos425 1c3e7598a6 Remove hardcoded gfx90a in gen_sysinfo util
Signed-off-by: coleramos425 <colramos@amd.com>
2024-03-01 15:50:42 -06:00
colramos-amd d6f45411eb Python formatting
Signed-off-by: colramos-amd <colramos@amd.com>
2024-03-01 15:50:42 -06:00
colramos-amd 3e59c928e0 Fixing misc Mi300 typos
Signed-off-by: colramos-amd <colramos@amd.com>
2024-03-01 15:50:42 -06:00
colramos-amd 86b6c8e848 Renaming global spec vars. Replacing L2Banks with total_l2_chan (#251)
Signed-off-by: colramos-amd <colramos@amd.com>
2024-03-01 15:50:42 -06:00
colramos-amd 3b1b8d7b5b Reorganize the specs module to reduce duplicate code
Signed-off-by: colramos-amd <colramos@amd.com>
2024-03-01 15:50:42 -06:00
Karl W Schulz 79b877d679 code formatting updates
Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
2024-02-22 16:02:25 -06:00
colramos-amd b0cf695976 Fix SPGR merge warning and more descriptive CLI output
Signed-off-by: colramos-amd <colramos@amd.com>
2024-02-06 16:12:14 -06:00
colramos-amd 7556316f02 Fix reporting of --roof-only runs in sys_info
Signed-off-by: colramos-amd <colramos@amd.com>
2024-02-04 12:44:47 -06:00
colramos-amd 3ac0f8121b profiling: Fix issue in mismatch join detection
Signed-off-by: colramos-amd <colramos@amd.com>
2024-01-31 12:15:56 -06:00
colramos-amd ad169fa1e8 Remove old csv_converter module, add new kernel_name_shortener module
Signed-off-by: colramos-amd <colramos@amd.com>
2024-01-30 11:15:12 -06:00
Karl W. Schulz d7b6cf81e6 update headers for 2024 calendar year
Signed-off-by: Karl W. Schulz <karl.schulz@amd.com>
2024-01-24 17:50:31 -06:00
colramos-amd e5ac5ccf7d Responding to Karls review
Signed-off-by: colramos-amd <colramos@amd.com>
2024-01-24 16:30:04 -06:00
colramos-amd a171e776e4 Update headers based on latest rocprofv2 output. Overwrite old headers.
Signed-off-by: colramos-amd <colramos@amd.com>
2024-01-24 16:30:04 -06:00
coleramos425 4c1e516fb6 Improved communication between SoC and profiler classes
Signed-off-by: coleramos425 <colramos@amd.com>
2024-01-24 16:30:04 -06:00
colramos-amd d4a649a926 Fix bug in profiling for Mi100
Signed-off-by: colramos-amd <colramos@amd.com>
2024-01-24 16:30:04 -06:00
colramos-amd a1b5c252e2 Optimizations to run_prof() utility
Signed-off-by: colramos-amd <colramos@amd.com>
2024-01-24 16:30:04 -06:00
colramos-amd 42dd2cbcac Moving the join_prof func into parent class and adding output_headers specific to rocprof ver
Signed-off-by: colramos-amd <colramos@amd.com>
2024-01-24 16:30:04 -06:00
colramos-amd 37bd6b78ae Fix reporting of --roof-only runs in sys_info
Signed-off-by: colramos-amd <colramos@amd.com>
2024-01-23 12:56:59 -06:00
colramos-amd fbe6b2d683 Move perfmon_configs dir into omniperf_soc dir. Rename config dirs for clarity
Signed-off-by: colramos-amd <colramos@amd.com>
2023-12-11 16:49:06 -06:00
colramos-amd b99d448d3b Move error logging to util.py
Signed-off-by: colramos-amd <colramos@amd.com>
2023-12-11 16:49:06 -06:00
colramos-amd 57a63b6eb1 Initial overhaul of Analyze mode. Basic CLI is enabled.
Signed-off-by: colramos-amd <colramos@amd.com>
2023-12-11 16:49:06 -06:00
colramos-amd 0f4b1d1d1f Fix typo in IPBlock logging
Signed-off-by: colramos-amd <colramos@amd.com>
2023-11-20 14:45:56 -06:00
colramos-amd 87388227ca Initial overhaul of Profile mode
Signed-off-by: colramos-amd <colramos@amd.com>
2023-10-31 15:11:17 -05:00