Commit Graph

593 Commits

Author SHA1 Message Date
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
Karl W Schulz bf31e9099c restore formal call to sys.exit() in top-level main; this is needed
for companion testing collateral which expects SystemExit exceptions
to be raised.

Signed-off-by: Karl W Schulz <karl.schulz@amd.com>


[ROCm/rocprofiler-compute commit: 9b4b6aee8e]
2023-12-07 14:40:07 -06:00
JoseSantosAMD 29ff3c36ea Enable running on mi100 and fixed typos
- Also enables RHEL9 roofline

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


[ROCm/rocprofiler-compute commit: 92f91e4715]
2023-12-07 08:40:19 -06:00
colramos-amd 65114f64bd Added missing hasattr checker
Signed-off-by: colramos-amd <colramos@amd.com>


[ROCm/rocprofiler-compute commit: cddc57bf08]
2023-12-05 13:06:44 -06:00
colramos-amd c134a12674 Fixing more typos...
Signed-off-by: colramos-amd <colramos@amd.com>


[ROCm/rocprofiler-compute commit: f822a56b7c]
2023-12-01 13:43:07 -06:00
colramos-amd 1279b2afac Small typo corrections in docs
Signed-off-by: colramos-amd <colramos@amd.com>


[ROCm/rocprofiler-compute commit: bc2d4b3491]
2023-12-01 13:38:53 -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 5b212292ea Fix typo in IPBlock logging
Signed-off-by: colramos-amd <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 0f4b1d1d1f]
2023-11-20 14:45:56 -06:00
colramos-amd f6c49cda2d Update docs and --help menu to reflect new vcopy usage
Signed-off-by: colramos-amd <colramos@amd.com>


[ROCm/rocprofiler-compute commit: f5b8cff990]
2023-11-20 14:45:00 -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
colramos-amd ef5c3cf780 Fixed baseline compare pct change issue occuring with small values
Signed-off-by: colramos-amd <colramos@amd.com>


[ROCm/rocprofiler-compute commit: ef2e460952]
2023-10-10 14:01:50 -05:00
colramos-amd 813d5a9ab1 Add support for result comparison in analyze mode
Signed-off-by: colramos-amd <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 48857c8f0c]
2023-10-04 16:15:48 -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
colramos-amd 3a0b29a4a9 Consistent useage of -p/--path option in profile mode
Signed-off-by: colramos-amd <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 95f886ef5a]
2023-10-04 09:50:30 -05:00
coleramos425 4b96ea115f Fix verbose mode in analyze mode
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: d3341905f8]
2023-09-20 14:15:18 -05:00
Nicholas Curtis b59853d676 fix for stoichastic kernel dispatch selection
Signed-off-by: Nicholas Curtis <nicurtis@amd.com>


[ROCm/rocprofiler-compute commit: a0955c293d]
2023-09-11 10:17:20 -04:00
Cole Ramos e9d464ef73 Merge pull request #168 from JoseSantosAMD/cpp_filt
uses c++filt instead of llvm-cxxfilt

[ROCm/rocprofiler-compute commit: 1289682045]
2023-09-05 09:21:02 -05:00
JoseSantosAMD fc1a0995f2 Update src/utils/csv_processor.py
Co-authored-by: Cole Ramos <colramos@amd.com>
Signed-off-by: JoseSantosAMD <87447437+JoseSantosAMD@users.noreply.github.com>

[ROCm/rocprofiler-compute commit: 56e497fd62]
2023-08-30 17:03:39 -05:00
coleramos425 663181470a Adding color code thresholds to standalone GUI to match Grafana
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 6461df96e8]
2023-08-30 16:24:42 -05:00
coleramos425 d8cf5ac3fd Standardizing headers. Will use 'avg' instead of 'mean'
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 8936966e81]
2023-08-30 16:20:45 -05:00
coleramos425 7720c7bdfa Merge branch 'main' of github.com:AMDResearch/omniperf into dev
[ROCm/rocprofiler-compute commit: 0694400618]
2023-08-29 16:07:14 -05:00
coleramos425 3d64ccb74d Update docs
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 4d9baa07e1]
2023-08-29 10:56:25 -05:00
coleramos425 f5dc7a2f93 Removing kernelVerbose from database mode
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 50fd968f51]
2023-08-24 18:57:26 -05:00
josantos d45834d7ac uses c++filt instead of llvm-cxxfilt
Signed-off-by: josantos <josantos@amd.com>


[ROCm/rocprofiler-compute commit: 256ada088d]
2023-08-24 16:43:45 -05:00
coleramos425 762e056867 Replacing subprocess with shutil
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 7d457b5096]
2023-08-24 15:54:00 -05:00
coleramos425 76dc96d87a Patch llvm-cxxfilt detection in atypical rocm installs
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 7187218ed9]
2023-08-22 11:25:06 -05:00
coleramos425 8e30256bc1 Documentation enhancements
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 064debf356]
2023-08-17 09:50:38 -05:00
Cole Ramos 0d03a08084 Merge branch 'main' into dev
[ROCm/rocprofiler-compute commit: eec0323945]
2023-08-16 14:29:29 -07:00
coleramos425 a6b78ee34d Renaming csv_converter to make more succinct
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 3ae0198f8e]
2023-08-16 16:16:46 -05:00
coleramos425 34946c95a7 Remove debug logging
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: f27142160c]
2023-08-16 15:34:55 -05:00
coleramos425 7e3d92e66d Prevent users from ipblock filtering in standalone GUI
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 5d74b142b6]
2023-08-16 14:16:50 -05:00
coleramos425 d1406ba55a Add a -d option to analyze mode for consistency with profile
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 74f816ed47]
2023-08-16 13:48:31 -05:00
Cole Ramos 7e0fb0fc16 Merge pull request #160 from JoseSantosAMD/pct_of_peak
Pct of peak

[ROCm/rocprofiler-compute commit: abd424beea]
2023-08-15 13:56:38 -07:00
Cole Ramos 384bd90214 Merge pull request #158 from JoseSantosAMD/instr_mix_min_max_avg
Instr mix min max avg

[ROCm/rocprofiler-compute commit: 6f6bca1383]
2023-08-15 13:55:22 -07:00
JoseSantosAMD 32492ec598 add simple_bar styling
Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>


[ROCm/rocprofiler-compute commit: 6d39955708]
2023-08-15 15:14:20 -05:00
JoseSantosAMD 71b1b525fe add pct of peak to tables
Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>


[ROCm/rocprofiler-compute commit: 132cb37d69]
2023-08-15 15:04:23 -05:00
coleramos425 b66ea0f401 Conform to Python formatting
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: dc849b264c]
2023-08-15 14:09:38 -05:00
coleramos425 1ed03cd78f Fixing several bugs on original PR
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 4aa33848de]
2023-08-15 14:00:36 -05:00
coleramos425 f519bab8ff Adding more details to Grafana setup in docs (#135)
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 30cc862667]
2023-08-14 12:58:33 -05:00
JoseSantosAMD 2dbfd9fb75 Added min/max/avg to VALU Arithmetic Instr Mix
-  gui now runs on archconfigs from sys_info

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


[ROCm/rocprofiler-compute commit: b82f033bf9]
2023-08-11 15:46:46 -05:00
coleramos425 8699ec3904 Updating docs for filtering with examples (#136) (#137)
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 2699460592]
2023-08-11 12:33:13 -05:00
JoseSantosAMD 809aa7075c Update 1000_compute-unit-instruction-mix.yaml
Signed-off-by: JoseSantosAMD <87447437+JoseSantosAMD@users.noreply.github.com>

[ROCm/rocprofiler-compute commit: 5dac9042e0]
2023-08-10 15:15:42 -05:00
JoseSantosAMD f1ccfdd7fd Adding min/max/avg breakdown across dispatches for instruction mix panels
Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>


[ROCm/rocprofiler-compute commit: bfbd5bbb3a]
2023-08-10 15:09:01 -05:00
josantos 43088ed5e2 use llvm-cxxfilt in /opt/rocm
Signed-off-by: josantos <josantos@amd.com>


[ROCm/rocprofiler-compute commit: 802308cd28]
2023-08-10 13:23:52 -05:00
josantos 2cfc9a2dbf reformatting
Signed-off-by: josantos <josantos@amd.com>


[ROCm/rocprofiler-compute commit: bbb254ef43]
2023-08-10 11:16:50 -05:00
josantos cd0dc01401 Names shortened/demangled after join_prof
-  Added kernelVerbose flag in profile_group
-  Added KernelVerbose flag in analyze_group
-  Analyze replaces csv with shortened/demangled name
-  csv_converter uses llvm-cxxfilt

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


[ROCm/rocprofiler-compute commit: 59d77f9d81]
2023-08-10 11:13:27 -05:00
josantos 9d01f81aac keep converter in csv_converter.py
Signed-off-by: josantos <josantos@amd.com>


[ROCm/rocprofiler-compute commit: 2948f73ae8]
2023-08-09 10:46:57 -05:00