Commit Graph

59 Commits

Author SHA1 Message Date
JoseSantosAMD 92f91e4715 Enable running on mi100 and fixed typos
- Also enables RHEL9 roofline

Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>
2023-12-07 08:40:19 -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
Karl W. Schulz c55508dfe6 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>
2023-10-04 09:52:50 -05:00
Cole Ramos 1289682045 Merge pull request #168 from JoseSantosAMD/cpp_filt
uses c++filt instead of llvm-cxxfilt
2023-09-05 09:21:02 -05:00
JoseSantosAMD 56e497fd62 Update src/utils/csv_processor.py
Co-authored-by: Cole Ramos <colramos@amd.com>
Signed-off-by: JoseSantosAMD <87447437+JoseSantosAMD@users.noreply.github.com>
2023-08-30 17:03:39 -05:00
coleramos425 50fd968f51 Removing kernelVerbose from database mode
Signed-off-by: coleramos425 <colramos@amd.com>
2023-08-24 18:57:26 -05:00
josantos 256ada088d uses c++filt instead of llvm-cxxfilt
Signed-off-by: josantos <josantos@amd.com>
2023-08-24 16:43:45 -05:00
coleramos425 7d457b5096 Replacing subprocess with shutil
Signed-off-by: coleramos425 <colramos@amd.com>
2023-08-24 15:54:00 -05:00
coleramos425 7187218ed9 Patch llvm-cxxfilt detection in atypical rocm installs
Signed-off-by: coleramos425 <colramos@amd.com>
2023-08-22 11:25:06 -05:00
coleramos425 3ae0198f8e Renaming csv_converter to make more succinct
Signed-off-by: coleramos425 <colramos@amd.com>
2023-08-16 16:16:46 -05:00
coleramos425 f27142160c Remove debug logging
Signed-off-by: coleramos425 <colramos@amd.com>
2023-08-16 15:34:55 -05:00
coleramos425 dc849b264c Conform to Python formatting
Signed-off-by: coleramos425 <colramos@amd.com>
2023-08-15 14:09:38 -05:00
coleramos425 4aa33848de Fixing several bugs on original PR
Signed-off-by: coleramos425 <colramos@amd.com>
2023-08-15 14:00:36 -05:00
josantos 802308cd28 use llvm-cxxfilt in /opt/rocm
Signed-off-by: josantos <josantos@amd.com>
2023-08-10 13:23:52 -05:00
josantos bbb254ef43 reformatting
Signed-off-by: josantos <josantos@amd.com>
2023-08-10 11:16:50 -05:00
josantos 59d77f9d81 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>
2023-08-10 11:13:27 -05:00
josantos 2948f73ae8 keep converter in csv_converter.py
Signed-off-by: josantos <josantos@amd.com>
2023-08-09 10:46:57 -05:00
JoseSantosAMD 76da2a9ed5 Merge branch 'dev' of https://github.com/AMDResearch/omniperf into kernel_name_mappings 2023-08-08 14:49:59 -05:00
JoseSantosAMD 4e51c122d1 removing calls to kernel_name_shortener in mongo
shortening now in profile

Signed-off-by: JoseSantosAMD <josantos@amd.com>
2023-08-08 12:06:39 -05:00
JoseSantosAMD add68ded67 reformatting
Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>
2023-08-02 13:55:08 -05:00
coleramos425 0f96a8d1e5 Fix incorrect ordering of args in perfagg func
Signed-off-by: coleramos425 <colramos@amd.com>
2023-08-02 12:50:34 -05:00
JoseSantosAMD b63332a317 Use llvm-cxxfilt to demangle names
Show typed text in in dash-dropdown input box

Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>
2023-08-02 12:38:56 -05:00
JoseSantosAMD 9360ed8b0c Use llvm-cxxfilt to demangle names in kernel_name_shortener
Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>
2023-07-31 14:19:26 -05:00
colramos-amd 2b0ac9b5d8 Enable join_prof() merge util to be called from outside Omniperf
Signed-off-by: colramos-amd <colramos@amd.com>
2023-07-17 13:12:56 -05:00
colramos-amd 4d8383b439 Comply to Python formatting
Signed-off-by: colramos-amd <colramos@amd.com>
2023-07-11 14:14:10 -05:00
colramos-amd 80c04feb77 Abstract perfmon coalesing for useage in rocomni plugin
Signed-off-by: colramos-amd <colramos@amd.com>
2023-07-11 14:13:09 -05:00
coleramos425 f91de7d2f7 Comply to Python formatting
Signed-off-by: coleramos425 <colramos@amd.com>
2023-06-26 15:38:51 -05:00
coleramos425 a89cb96b69 Extend filtering into timestamps.csv (#80)
Signed-off-by: coleramos425 <colramos@amd.com>
2023-06-26 15:30:38 -05:00
colramos-amd 79eecb445e Comply to Python formatting
Signed-off-by: colramos-amd <colramos@amd.com>
2023-06-09 10:04:32 -05:00
colramos-amd acb9729540 Fix VGPR issue (#139)
Signed-off-by: colramos-amd <colramos@amd.com>
2023-06-09 10:00:56 -05:00
Nicholas Curtis b48fb1e4cb reformat 2023-05-24 16:08:09 -04:00
Nicholas Curtis 2e403232db fix column name 2023-05-24 15:29:29 -04:00
Nicholas Curtis 10e6b1f068 Fix issue where join was being done on the incorrect key 2023-05-24 14:22:00 -04:00
coleramos425 dc89d64f11 Comply to Python formatting
Signed-off-by: coleramos425 <colramos@amd.com>
2023-05-19 16:10:20 -05:00
coleramos425 d23efe461e Enhance logging
Signed-off-by: coleramos425 <colramos@amd.com>
2023-05-19 13:38:19 -05:00
coleramos425 44edef4635 Enhance logging and warning reporting
Signed-off-by: coleramos425 <colramos@amd.com>
2023-05-16 15:39:45 -05:00
coleramos425 444102d927 Redefine boring merge values
Signed-off-by: coleramos425 <colramos@amd.com>
2023-05-11 14:04:02 -05:00
coleramos425 419e2fcac6 Add grid size option and cmd line option for --join-type
Signed-off-by: coleramos425 <colramos@amd.com>
2023-05-11 13:00:30 -05:00
coleramos425 8c173446d2 Comply to Python formatting
Signed-off-by: coleramos425 <colramos@amd.com>
2023-05-08 11:56:49 -05:00
coleramos425 298271e1d0 Update mean timestamp calculation
Signed-off-by: coleramos425 <colramos@amd.com>
2023-05-08 11:25:05 -05:00
coleramos425 a9d82759ca Implement custom merge utility for rocprof
Signed-off-by: coleramos425 <colramos@amd.com>
2023-05-05 15:07:20 -05:00
coleramos425 5a36630373 Fix exe permissions on roofline binary
Signed-off-by: coleramos425 <colramos@amd.com>
2023-04-11 16:36:51 -05:00
coleramos425 1de5671673 Update from https://github.com/AARInternal/mibench/commit/f56d76b7c29f907cd174b0f90a2ba480504be559 2023-04-11 15:44:19 +00:00
coleramos425 7c9d317527 Comply to Python formatting
Signed-off-by: coleramos425 <colramos@amd.com>
2023-02-21 13:02:43 -06:00
coleramos425 c4eaa1d45b Specify returncode for rocm-smi error (#85)
Signed-off-by: coleramos425 <colramos@amd.com>
2023-02-21 12:40:41 -06:00
coleramos425 f77173a2f1 Catch exceptions from rocm-smi (#85)
Signed-off-by: coleramos425 <colramos@amd.com>
2023-02-21 09:47:45 -06:00
Karl W. Schulz 574ebcf755 apply "make license" update
Signed-off-by: Karl W. Schulz <karl.schulz@amd.com>
2023-02-13 14:50:24 -06:00
Karl W. Schulz 3d7a7a6f32 updating copyright header for 2023 using newly-added "make license" target
Signed-off-by: Karl W. Schulz <karl.schulz@amd.com>
2023-02-13 14:15:27 -06:00
Karl W. Schulz e79391aabe ran dos2unix
Signed-off-by: Karl W. Schulz <karl.schulz@amd.com>
2023-02-13 14:15:27 -06:00
Karl W. Schulz c8fc8e8026 adding license delimiters to headers
Signed-off-by: Karl W. Schulz <karl.schulz@amd.com>
2023-02-13 10:36:29 -06:00