Commit Graph

362 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
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
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 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
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 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 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 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
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
JoseSantosAMD 67971bca46 Merge branch 'dev' of https://github.com/AMDResearch/omniperf into kernel_name_mappings
[ROCm/rocprofiler-compute commit: 76da2a9ed5]
2023-08-08 14:49:59 -05:00
JoseSantosAMD a712bcef4b removing calls to kernel_name_shortener in mongo
shortening now in profile

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


[ROCm/rocprofiler-compute commit: 4e51c122d1]
2023-08-08 12:06:39 -05:00
JoseSantosAMD 2765d923a0 reformatting
Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>


[ROCm/rocprofiler-compute commit: add68ded67]
2023-08-02 13:55:08 -05:00
coleramos425 e074fc209a Fix incorrect ordering of args in perfagg func
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 0f96a8d1e5]
2023-08-02 12:50:34 -05:00
JoseSantosAMD 68f6f9130b Use llvm-cxxfilt to demangle names
Show typed text in in dash-dropdown input box

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


[ROCm/rocprofiler-compute commit: b63332a317]
2023-08-02 12:38:56 -05:00
JoseSantosAMD f90acbd037 Use llvm-cxxfilt to demangle names in kernel_name_shortener
Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>


[ROCm/rocprofiler-compute commit: 9360ed8b0c]
2023-07-31 14:19:26 -05:00
colramos-amd e565946a4d Enable join_prof() merge util to be called from outside Omniperf
Signed-off-by: colramos-amd <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 2b0ac9b5d8]
2023-07-17 13:12:56 -05:00
colramos-amd 91dee25ea2 Comply to Python formatting
Signed-off-by: colramos-amd <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 4d8383b439]
2023-07-11 14:14:10 -05:00
colramos-amd 1145579dbe Abstract perfmon coalesing for useage in rocomni plugin
Signed-off-by: colramos-amd <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 80c04feb77]
2023-07-11 14:13:09 -05:00
coleramos425 4c607e2741 Comply to Python formatting
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: f91de7d2f7]
2023-06-26 15:38:51 -05:00
coleramos425 8f287bb7f9 Extend filtering into timestamps.csv (#80)
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: a89cb96b69]
2023-06-26 15:30:38 -05:00
colramos-amd 7e1a29299d Comply to Python formatting
Signed-off-by: colramos-amd <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 79eecb445e]
2023-06-09 10:04:32 -05:00
colramos-amd 7522233da8 Fix VGPR issue (#139)
Signed-off-by: colramos-amd <colramos@amd.com>


[ROCm/rocprofiler-compute commit: acb9729540]
2023-06-09 10:00:56 -05:00
Nicholas Curtis 6434ab2194 reformat
[ROCm/rocprofiler-compute commit: b48fb1e4cb]
2023-05-24 16:08:09 -04:00
Nicholas Curtis 9512b7479d fix column name
[ROCm/rocprofiler-compute commit: 2e403232db]
2023-05-24 15:29:29 -04:00
Nicholas Curtis b967086861 Fix issue where join was being done on the incorrect key
[ROCm/rocprofiler-compute commit: 10e6b1f068]
2023-05-24 14:22:00 -04:00
coleramos425 4721c370dc Comply to Python formatting
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: dc89d64f11]
2023-05-19 16:10:20 -05:00
coleramos425 48c41e43ce Enhance logging
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: d23efe461e]
2023-05-19 13:38:19 -05:00
coleramos425 0809575cc3 Enhance logging and warning reporting
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 44edef4635]
2023-05-16 15:39:45 -05:00
coleramos425 8b2b78d193 Redefine boring merge values
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 444102d927]
2023-05-11 14:04:02 -05:00
coleramos425 502ce88ca8 Add grid size option and cmd line option for --join-type
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 419e2fcac6]
2023-05-11 13:00:30 -05:00
coleramos425 26ef8b672b Comply to Python formatting
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 8c173446d2]
2023-05-08 11:56:49 -05:00
coleramos425 bdb296ab17 Update mean timestamp calculation
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 298271e1d0]
2023-05-08 11:25:05 -05:00
coleramos425 f7fe3d9efd Implement custom merge utility for rocprof
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: a9d82759ca]
2023-05-05 15:07:20 -05:00
coleramos425 311c71760e Fix exe permissions on roofline binary
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 5a36630373]
2023-04-11 16:36:51 -05:00
coleramos425 967cabfd92 Update from https://github.com/AARInternal/mibench/commit/f56d76b7c29f907cd174b0f90a2ba480504be559
[ROCm/rocprofiler-compute commit: 1de5671673]
2023-04-11 15:44:19 +00:00
coleramos425 1deb399bf8 Comply to Python formatting
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 7c9d317527]
2023-02-21 13:02:43 -06:00
coleramos425 fdd5a54b4f Specify returncode for rocm-smi error (#85)
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: c4eaa1d45b]
2023-02-21 12:40:41 -06:00
coleramos425 b0bcc846aa Catch exceptions from rocm-smi (#85)
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: f77173a2f1]
2023-02-21 09:47:45 -06:00
Karl W. Schulz 4114aebedf apply "make license" update
Signed-off-by: Karl W. Schulz <karl.schulz@amd.com>


[ROCm/rocprofiler-compute commit: 574ebcf755]
2023-02-13 14:50:24 -06:00