Commit Graph

8920 Commits

Author SHA1 Message Date
David Yat Sin 23c483ca65 Adding coherent host access query
Change-Id: I34030ab193b5e7890cf10c6a0c6ad493ac0e0283
2023-08-14 20:21:23 +00:00
josantos e25d61dcb7 add hidden min/max to instr mix panels
Signed-off-by: josantos <josantos@amd.com>
2023-08-14 13:15:15 -05:00
coleramos425 30cc862667 Adding more details to Grafana setup in docs (#135)
Signed-off-by: coleramos425 <colramos@amd.com>
2023-08-14 12:58:33 -05:00
JoseSantosAMD b82f033bf9 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>
2023-08-11 15:46:46 -05:00
coleramos425 2699460592 Updating docs for filtering with examples (#136) (#137)
Signed-off-by: coleramos425 <colramos@amd.com>
2023-08-11 12:33:13 -05:00
Galantsev, Dmitrii de252b21a4 SWDEV-410524 - Doxygen add WARN_AS_ERROR
Change-Id: I714712d61d1526cb75122a2f23e293745d41a701
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2023-08-11 11:57:44 -05:00
Charis Poag 755e14dbad [SWDEV-399953] Smart Temperature detection + partitioning display
* Updates:
    - Fix for devices which do not have edge sensors, but junction
    - Added partitioning (memory and dynamic) displays for
      base rocm-smi CLI calls
    - Added subheading for base rocm-smi call output
    - Added better hwmon and device detection logging

Change-Id: I8219884b2e532d6ed379527cacdc1f2b232a5451
Signed-off-by: Charis Poag <Charis.Poag@amd.com>
2023-08-10 19:53:38 -04:00
Giovanni LB 06cd40d7ab SWDEV-354913: Fixed rocprofv1 hip-trace for no kernel calls
Change-Id: Iaaed532b98be0e4a74849e272d484a37c874963c
2023-08-10 19:31:55 -03:00
JoseSantosAMD 5dac9042e0 Update 1000_compute-unit-instruction-mix.yaml
Signed-off-by: JoseSantosAMD <87447437+JoseSantosAMD@users.noreply.github.com>
2023-08-10 15:15:42 -05:00
JoseSantosAMD 57a75f9265 Merge branch 'dev' into instr_mix_min_max_avg
Signed-off-by: JoseSantosAMD <87447437+JoseSantosAMD@users.noreply.github.com>
2023-08-10 15:13:01 -05:00
Jonathan R. Madsen 70d6fc7631 Dependabot package updates (#301)
Dependabot package updates
2023-08-10 15:10:04 -05:00
JoseSantosAMD bfbd5bbb3a Adding min/max/avg breakdown across dispatches for instruction mix panels
Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>
2023-08-10 15:09:01 -05:00
josantos 878948e848 removing broken install in gh actions container
Signed-off-by: josantos <josantos@amd.com>
2023-08-10 13:25:11 -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 73933572af add llvm to github action container
Signed-off-by: josantos <josantos@amd.com>
2023-08-10 13:15:44 -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
David Yat Sin 93401e3c8c Revert "Adding documentation for SDMA environment var"
This reverts commit a7ffddb265.

Replaced by commit 3b3f14c06e8a2fab717f0b82aba3c72d74bb9574.

Environment variables documented in:docs/environment_variables.md

Change-Id: I8da0d971eb98554b4bd1b884617a439f1b20ed5b
2023-08-10 09:55:42 -04:00
Hao Zhou bc974cad3d Merge amd-staging into amd-master 20230810
Signed-off-by: Hao Zhou <Hao.Zhou@amd.com>
Change-Id: I9bccf40ef277218f267b128268d6c6678acf21b7
2023-08-10 11:32:37 +08:00
Oliveira, Daniel cc5ab079df Fix rsmitstReadWrite.TestPowerReadWrite test failure
Code changes related to the following:
  * All reinforcement work moved to their own files
  * Self contained changes only to support them
  * New files added to CMakeLists.txt

Change-Id: I761e91f54392824df9145eaed8b9805986861285
Signed-off-by: Oliveira, Daniel <daniel.oliveira@amd.com>
2023-08-09 21:51:05 -05:00
Jonathan R. Madsen 0b751d2aef Packaging for ROCm 5.6 (#299)
* Packaging for ROCm 5.6

- Bump version to 1.10.2
- build rocm 5.6 containers for ubuntu 20.04, 22.04
- build rocm 5.6 containers for opensuse 15.4
- build rocm 5.5 and 5.6 for rhel 8.7, 9.0, 9.1
- cpack rocm 5.6 for ubuntu 20.04, ubuntu 22.04, opensuse 15.4, rhel 8.7, rhel 9.0, rhel 9.1

* Update omnitrace.cfg

- remove file_write_period_ms
- remove flush_period_ms

* Remove ROCm 5.6 for RHEL 9.0

- no packaging support
2023-08-09 18:59:45 -05:00
Ranjith Ramakrishnan 96c8bb11b1 Disable file reorg backward compatibility support by default
Change-Id: I157e05e52a1a61b86fa2fc6f29d31361a688fa10
2023-08-09 12:31:27 -04:00
josantos 2948f73ae8 keep converter in csv_converter.py
Signed-off-by: josantos <josantos@amd.com>
2023-08-09 10:46:57 -05:00
Jonathan Kim d20f0bbb90 kfdtest: add suspend resume test
Add queue suspend and resume test.

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Change-Id: I2ade721026cbb458a3597b7858a164e70fe05f4f
2023-08-09 09:26:46 -04:00
Jonathan Kim b0e84183c1 kfdtest: add snapshot operations
Add queue and devices snapshot operations.

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Change-Id: I836884c9f3b65dd9e5e444d554d3eb87938e1634
2023-08-09 09:26:29 -04:00
Jonathan Kim 5a675921ea kfdtest: add suspend and resume queues operation
Add base debug operations to suspend and resume queues.
Routine will return the number of queues successfully
suspended or resumed.

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Change-Id: I8f18317f70464b04231c5cf822e11d545ebfa02a
2023-08-09 09:26:09 -04:00
Public Profile a3ac4bac21 fix broken links
Change-Id: Ibd941eb116fd9ae4ed7deeeb3a07324a2a3ca3c3
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2023-08-09 00:13:09 -05:00
Jonathan R. Madsen 527aa71f5a Initial skeleton (#1)
* googletest submodule

* cmake folder

* misc root files

- clang-format
- cmake-format
- pyproject.toml
- requirements.txt
- VERSION

* workflows

* RPM files

* external folder

* samples folder

* tests root folder

* source/bin folder

* source/include folder

* source/lib/common folder

* source/lib/plugins folder

* source/lib/tests folder

- for library unit tests

* source/lib/rocprofiler folder

- rocprofiler library implementation

* Remaining cmake files

* lib/common/containers

- ring_buffer
- atomic_ring_buffer
- stable_vector
- static_vector

* Update .gitignore

* Update hsa.hpp

- include cstdint

* cmake formatting (cmake-format) (#2)

Co-authored-by: jrmadsen <jrmadsen@users.noreply.github.com>

* Remove linting.yml

- uses self-hosted runners

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-08 18:39:01 -05:00
Jonathan Kim b77189cf83 kfdtest: add hit trap event test
Check that a jump to trap event can be picked up by the debugger.

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Change-Id: Iad5f87092f2b82d5018013bba548979122a9bd02
2023-08-08 16:01:23 -04:00
Jonathan Kim 97fc25bb8d kfdtest: add set exceptions enable base debug operation
Add set exceptions enabled debug option

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Change-Id: I6ee1769bbbb90a74074d8100974c4bfeabaf7f2c
2023-08-08 16:01:03 -04:00
Jonathan Kim 097ee967d1 kfdtest: add runtime enable and attach test
Add debug attach and runtime enable test for attaching to a spawned and
running process.

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Change-Id: I72302ff73494d9dae0c79a299508085d7ca0552b
2023-08-08 16:00:44 -04:00
Jonathan Kim bfb0d15ee8 kfdtest: add query operations
Add polling query debug event operation.

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Change-Id: Ic82ce4a393bfb28c9f32e7920f80c12da7f627d5
2023-08-08 16:00:25 -04:00
Jonathan Kim c7129edcb8 kfdtest: add send exception operation
Add send exception operation.

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Change-Id: Iecb43004a1a7ffc75e94badf203cd0927ffe0909
2023-08-08 16:00:04 -04:00
Jonathan Kim dd56b38c2f kfdtest: add base debug class and debug attach/detach operation
Add base debug class and attach/detach operations.

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Change-Id: I60f3c166646f05838fec208ac2f59bba998c63f8
2023-08-08 15:59:35 -04:00
JoseSantosAMD 76da2a9ed5 Merge branch 'dev' of https://github.com/AMDResearch/omniperf into kernel_name_mappings 2023-08-08 14:49:59 -05:00
Ammar ELWazir 53a9547670 Initial commit 2023-08-08 13:54:40 -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 11b5f65c1c Fix yaml syntax errors
Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>
2023-08-08 11:04:35 -05:00
Ammar ELWazir 7d1c7757a8 Initial commit 2023-08-07 15:46:36 -05:00
Ranjith Ramakrishnan 538a54ec05 SWDEV-366827 - Disable file reorg backward compatibility support by default
Change-Id: I17585455bb3ee8188a81ed53e1e87a911f4d6b68
2023-08-07 11:10:21 -07:00
Ranjith Ramakrishnan 6ab944c009 SWDEV-366827 - Disable file reorg backward compatibility support by default
Change-Id: Ibf3c409c1741211ea86d52a90227c64ef47ee54b
2023-08-07 11:01:11 -07:00
JoseSantosAMD d6fb0183a4 Fixing yaml syntax errors
Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>
2023-08-07 12:41:15 -05:00
JoseSantosAMD ef8ef2291b Fix syntax error in yaml
Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>
2023-08-07 12:31:27 -05:00
Nicholas Curtis 428d07a379 fix max BF16 flop rate on CDNA2
Signed-off-by: Nicholas Curtis <nicurtis@amd.com>
2023-08-07 11:42:21 -05:00
coleramos425 b1a7a26848 Only load required archs into ArchConfig datastruct (#144)
Signed-off-by: coleramos425 <colramos@amd.com>
2023-08-07 11:42:21 -05:00
coleramos425 db9cc25be1 Fix incorrect ordering of args in perfagg func
Signed-off-by: coleramos425 <colramos@amd.com>
2023-08-07 11:42:21 -05:00
JoseSantosAMD 7ed6c620aa Adding config files
Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>
2023-08-07 11:42:21 -05:00
JoseSantosAMD c209583e98 Adding config files
Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>
2023-08-07 11:42:21 -05:00
JoseSantosAMD 08f4684620 Migrate to @grafana/create-plugin
Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>
2023-08-07 11:42:21 -05:00
colramos-amd a61d509739 New simple_charts utility
Signed-off-by: colramos-amd <colramos@amd.com>
2023-08-07 11:42:21 -05:00