Commit Graph

64 Commits

Author SHA1 Message Date
Karl W. Schulz f3a0360a56 Adding a top-level runtime python dependency checker. Goal is to
provide a kinder error message in the case where python dependencies
are not available locally. This is motivated for future execution by
users who are running from rocm-based binary packaging instead of using
normal cmake build system which would have verified the dependencies.

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


[ROCm/rocprofiler-compute commit: d1ee2ec870]
2024-05-03 15:26:27 -05:00
Karl W Schulz 9d7dde19b0 refactor setting of local encoding; remove from top-level omniperf
wrapper and push into base class via a companion utility function

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


[ROCm/rocprofiler-compute commit: 27a57bdafb]
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
Cole Ramos 4585750893 Force encoding before Omniperf execution (#299)
* Force encoding before Omniperf execution

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

* Fix circular dependency in utils module

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

---------

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

[ROCm/rocprofiler-compute commit: f4511e7280]
2024-03-06 17:01:07 -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
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
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 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 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
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
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 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 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 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
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
coleramos425 75fcd17e99 Add LDSBanks for LDS bw calc (#107)
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 514b91b210]
2023-05-19 16:08:23 -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 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 2be3eaca2e Fix join_prof() call for --roof-only mode
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: f499408c7b]
2023-05-08 11:55:45 -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 b72787b361 Roofline support for SLES15 SP3 and greater (#109)
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 77559a2f25]
2023-04-14 12:50:28 -05:00
coleramos425 60725b2c7f Add log.txt file to workload output (#106)
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 6050cdd924]
2023-04-05 14:28:19 -05:00
coleramos425 55b4a2533e Option for different markers per kernel name
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 27fa97aad9]
2023-02-27 16:18:42 -06:00
coleramos425 106dcd2eaa Correct filtering in standalone roofline
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 0705db024c]
2023-02-22 14:37:20 -06:00
Cole Ramos ecedfba0f0 Custom metrics for mi100
Signed-off-by: Cole Ramos <colramos@TheraC02.thera.amd.com>


[ROCm/rocprofiler-compute commit: acfba464ed]
2023-02-15 14:44:29 -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
Karl W. Schulz 5498b7c06c updating copyright header for 2023 using newly-added "make license" target
Signed-off-by: Karl W. Schulz <karl.schulz@amd.com>


[ROCm/rocprofiler-compute commit: 3d7a7a6f32]
2023-02-13 14:15:27 -06:00
Karl W. Schulz f8151d3d05 adding license delimiters to headers
Signed-off-by: Karl W. Schulz <karl.schulz@amd.com>


[ROCm/rocprofiler-compute commit: c8fc8e8026]
2023-02-13 10:36:29 -06:00
coleramos425 cb01e766d9 Remove reference to deprecated --axis option
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: ad05c01966]
2023-01-31 15:37:54 -06:00
coleramos425 51cb90046b Add quotes to app cmd in sysinfo #76
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 88987f4c29]
2023-01-27 11:12:53 -06:00
Cole Ramos b162de0a98 Add commenting
Signed-off-by: coleramos425 <colramos@amd.com>

[ROCm/rocprofiler-compute commit: 2e1de304f5]
2023-01-26 14:13:14 -06:00
coleramos425 6603aeeefe Re-enable standalone roof options. Everthing working.
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: b6d6c05e7b]
2023-01-26 14:07:10 -06:00
coleramos425 9cf840dd1e Merge branch 'dev' of github.com:AMDResearch/omniperf into 69-merge-roofline-modules
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: fb4b21380d]
2023-01-25 15:39:16 -06:00
coleramos425 edaa3d6acc Modify parameters for calls to rocscope
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: a8d64bf7e9]
2023-01-25 15:30:04 -06:00
coleramos425 38835d3eda Add execution privileges to omniperf bash
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: ee51ba994f]
2023-01-24 09:09:52 -06:00
Cole Ramos e65c5b8036 Merge branch 'dev' into lucky
[ROCm/rocprofiler-compute commit: 6c930358fc]
2023-01-23 15:32:44 -06:00
coleramos425 3c89faaa41 Merge branch 'dev' into lucky
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 00c9ff9493]
2023-01-23 15:28:35 -06:00
Keith Lowery b12edbe907 Implemented the --use-rocscope command-line argument
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 60eca50d02]
2023-01-23 15:12:15 -06:00
Keith Lowery 166af1e94c Supporting use of rocscope as alternative profiler
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 5d4de98d18]
2023-01-23 15:12:15 -06:00
Keith Lowery c0024696d4 Got kernel summaries in rocscope integrated
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 9e12acf79c]
2023-01-23 15:12:15 -06:00
Keith Lowery 966e276118 Integrated support for using rocscope with omniperf for top10 (--i-feel-lucky)
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: eadd35e5c6]
2023-01-23 15:12:15 -06:00
Keith Lowery 89f91b59bf Added a new feature --i-feel-lucky that discovers and profiles only the top 5 kernels
Signed-off-by: Keith Lowery <klowery@amd.com>
Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 4c6a64f4e5]
2023-01-23 15:12:15 -06:00
colramos425 4aa443b33f Modify GUI roofline to accomidate standalone option
Signed-off-by: colramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: fca1001a4c]
2023-01-18 11:46:12 -06:00