Commit Graph

8920 Commits

Author SHA1 Message Date
David Yat Sin 7ea25ebb85 rocr: Add thread priority for AsyncEventHandler
Set priority to maximum for signal event handler and minimum for
exceptions event handler.

Change-Id: I1b982d3c2e4c880fafc073fe1a542d01692a6fdc
2025-01-24 10:08:12 -05:00
Elwazir, Ammar 19a912d476 Fixing collection period rocprofv3 help message (#148)
Update rocprofv3.py
2025-01-24 08:39:40 -06:00
Galantsev, Dmitrii e033fd4c55 CMAKE - Rename SMI_*_DIR into AMD_SMI_*_DIR
Change-Id: I3b8b852e6b68f1448c8ed5d5e6ea4579c470ff53
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-01-23 20:56:00 -06:00
Ma, Li 9dce427c69 Fix Memory Current Bandwidth (#98)
Adjust the calculation order to ensure accuracy.


Change-Id: Ica10769fa3dba10c67428d09ffd454fc09ed0da8

Signed-off-by: Li Ma <li.ma@amd.com>
2025-01-24 10:22:08 +08:00
stali e36d3fae22 fix topology issue 2025-01-24 09:22:42 +08:00
Mallya, Ameya Keshava 3e1caf69ae Added PSDB trigger for staging 2025-01-23 16:54:09 -08:00
cfallows-amd 7602341b70 Add ubuntu 24.04 detection for roofline bin loading. (#541)
Also updated docker script for dev usage.

Signed-off-by: Carrie Fallows <Carrie.Fallows@amd.com>
2025-01-23 19:53:50 -05:00
Mallya, Ameya Keshava ae8f4b32a7 Added PSDB trigger for staging 2025-01-23 16:53:25 -08:00
Galantsev, Dmitrii ef77c0ed92 Fix workflow for rocprof by specifying GPU_TARGETS
Change-Id: I153f9e73471599fbcf68c73ad0ed9f4db7a742ef
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-01-23 18:38:34 -06:00
Mallya, Ameya Keshava 3ac827eb87 Added PSDB trigger for npi 2025-01-23 16:13:32 -08:00
Mallya, Ameya Keshava 11cd25d1f5 Added PSDB trigger for npi 2025-01-23 16:12:59 -08:00
ywang103-amd 713570908a enable rocprofv3 for all old soc architectures (#539)
* enable rocprofv3 for all old soc archetectures

* remove gfx906 from rocprofv3
2025-01-23 15:37:00 -05:00
Ben Vanik 9971e7b004 rocr: Fixing non-portable inline attribute on hsa_flag_* utilities.
Change-Id: Ie1c53fef407a71b5ec4c6eaf3a3ed00871184408
2025-01-23 15:09:21 -05:00
Tony Gutierrez 15107afb11 rocr: Generalize driver discovery
Generalize the driver discovery and move driver-specific
functionality to the concrete driver implementations.
Currently, this process is tightly coupled to the hsakmt
which is GPU and OS specific.

Change-Id: Ie1c53fef407a71b5ec4c6eaf3a3ed00871184409
2025-01-23 15:09:14 -05:00
Tony Gutierrez 77fa5af618 rocr: Make Open() and Close() virtual in Driver
Change-Id: Iac054c08383b080ca2b2ec6d65019bf2f083b763
2025-01-23 15:09:06 -05:00
Tony Gutierrez 8bbc44d51b rocr: Forward declare Driver in the Agent class
Change-Id: Ib27081bf31446af92602f723f352fb75ec3f378e
2025-01-23 15:08:59 -05:00
Cole Ramos 34760ff814 Yearly license update (#538)
* Add license template designation

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

* Update license year on *.py

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

* Update license year on *.sh

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

* Update license year on misc files

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

---------

Signed-off-by: coleramos425 <colramos@amd.com>
2025-01-23 13:09:32 -06:00
Shweta Khatri 2d4a578020 Revert "Revert "hsakmt: Only set exec flag when requested""
This reverts commit 80da7d5ee4.

Reason for revert: This will put back the change ID - Id1154f08f6ba21c633905fd46b06053994d6f3cc to ROCR repo, which will prevent memory allocations from being automatically granted the 'executable' flag, addressing previously -  incorrect and unsafe behavior in ROCm driver.

Change-Id: I3d45c45859929a80f7791681b411251e099a1901
2025-01-23 09:08:25 -05:00
Bhardwaj, Gopesh 2f65f99d2c Fixing corrupted CHANGELOG (#152)
* Fixing corrupted CHANGELOG

* updating changelog
2025-01-23 00:12:12 -06:00
Madsen, Jonathan 34145fa762 Upload artifacts only on 'workflow_dispatch' (#147)
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
2025-01-22 19:44:19 -06:00
Rawat, Swati 97b7a6315d update copyright date to 2025 (#102)
* Update LICENSE

* Update conf.py

* Update copyright year

* [fix] Update copyright year

* Update copyright year "ROCm Developer Tools"

* Add license headers to c++ files

* Add license to *.py

* Update licenses in rocdecode sources

---------

Co-authored-by: srawat <120587655+SwRaw@users.noreply.github.com>
Co-authored-by: Mythreya <mythreya.kuricheti@amd.com>
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
2025-01-22 19:11:20 -06:00
Meadows, Lawrence 93f19cf5ca Add ELFABIVERSION_AMDGPU_HSA_V6 emitted by recent llvm compilers (#141)
Co-authored-by: Larry Meadows <lmeadows@amd.com>
2025-01-22 13:42:48 -08:00
Galantsev, Dmitrii 9dd58b6907 Update workflow to artifacts@v4
Change-Id: Ib08a0afc0954ea2eb581425cbf9cf1d7715cebc5
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-01-22 14:31:31 -06:00
Peter Park 5063e14309 Specify path to sphinx configuration in .readthedocs.yaml (#536) 2025-01-22 15:22:26 -05:00
Kuricheti, Mythreya 9789f76ee6 Upload packages only on 'workflow_dispatch' (#145) 2025-01-22 13:50:15 -06:00
Longlong Yao 5d8fba133d rocr: add AMD_KERNEL_CODE_PROPERTIES_ENABLE_WAVEFRONT_SIZE32
Change-Id: I158705499f4ab0b1231d698d66902eb4ab1ececa
Signed-off-by: LonglongYao <Longlong.Yao@amd.com>
2025-01-22 13:02:31 -05:00
Bhardwaj, Gopesh 73e7f8cfb1 ROCTx Documentation (#29)
* Add roctx doc

* Add roctx doxyfile input

* Update links and toc

* Build doxysphinx for both doxygen files

* Update scripts

* Generate roctx doxygen files

* Change doxygen path

to allow for 2 doxyfiles

* Make doxygen dir for script

* Call make _doxygen dir with p flag

* Create _doxygen dir in workfllow

* Create doc dirs for doxygen

* Run update docs as sudo

* Fix typo in mkdir command

* Include graphviz for dot

* Install dot for docs CI

* Install dot as sudo due to permission denied

* Install doxygen via sudo

* Install doxysphinx

* Add postcheckout step to RTD to config and gen doxygen docs

* On RTD, update doxygen after creating env

* update docs.yml

* update docs.yml

* fixing build-docs-from-source

* Fixing build docs from source

* update docs.yml

* trying to fix readthedocs

* trying to fix readthedocs

* update docs.yml

* improve mainpage documentation

* update docs

* clang-format fix

---------

Co-authored-by: Sam Wu <22262939+samjwu@users.noreply.github.com>
Co-authored-by: Madsen, Jonathan <Jonathan.Madsen@amd.com>
2025-01-22 11:34:21 -06:00
Trowbridge, Ian 73e72bb088 Documentation Update to reflect that memory allocation trace records null pointers for free operations (#127)
Update documentation to reflect that nullpointers can be recorded in free memory operations
2025-01-22 11:20:50 -06:00
Cheruvally, Aravindan 6bb60bf930 Enhance CMAKE install instructions with std install location/destination (#85)
* Enhancement - usage of package name flags commonly across for getting unique folder name

* Enhancements - updating libexec/pkg usage, avoid sbin

* CMAKE Format Update

* Python Format Update

* Revert "Enhancement - usage of package name flags commonly across for getting unique folder name"

This reverts commit 2dcd1ac5f22ab90112d90648e4b5dab5c54bc639.

* REview Comments - Revert PACKAGE_NAME usage

* Review Comments - Update source folders accordingly to new cmake install locations
2025-01-22 11:19:47 -06:00
Madsen, Jonathan 89cfb5317d Update docs jinja requirements (#118)
- Jinja < 3.1.5 has a sandbox breakout through malicious filenames
- Jinja < 3.1.5 has a sandbox breakout through indirect reference to format method

Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
2025-01-22 11:18:19 -06:00
Trowbridge, Ian 042c761b64 Changed memory_allocation.csv name to memory_allocation_trace.csv (#111) 2025-01-22 11:14:42 -06:00
Peter Park bb388b03f1 update LICENSE year to 2025 (#530) 2025-01-22 07:03:28 -08:00
dependabot[bot] c99d4525ef Bump rocm-docs-core from 1.12.0 to 1.13.0 in /docs/sphinx (#526)
Bumps [rocm-docs-core](https://github.com/ROCm/rocm-docs-core) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/ROCm/rocm-docs-core/releases)
- [Changelog](https://github.com/ROCm/rocm-docs-core/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ROCm/rocm-docs-core/compare/v1.12.0...v1.13.0)

---
updated-dependencies:
- dependency-name: rocm-docs-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-22 07:03:19 -08:00
ywang103-amd 0dfb87f25f made change on the logic to add roofline file to expected csv list to fix crash on mi100 (#528) 2025-01-22 07:03:13 -08:00
vedithal-amd c5fec31535 Quick fix for mpi_support (#527) 2025-01-22 07:03:07 -08:00
vedithal-amd 5e90797b24 Docker environment for testing (#515)
* Add instructions on how to use Docker for manual and automatic testing
2025-01-22 07:02:59 -08:00
adapryor e8057b1042 SWDEV-500382 fix energy consumed
Change-Id: I3f180f34abed763db1287bf01581753534f32828
2025-01-21 21:49:33 -06:00
adapryor 290b90dc89 Implementation for RDC_FI_PROF_OCCUPANCY_PER_ACTIVE_CU SWDEV-50895
Signed-off-by: adapryor <Adam.pryor@amd.com>
Change-Id: I8da7d9846edabe5629c75f50cd2bb4b23e019a17
Signed-off-by: adapryor <Adam.pryor@amd.com>
2025-01-21 21:49:19 -06:00
Rawat, Swati 8c62af8ae6 Update copyright date to 2025 in License.md (#4)
Update LICENSE

Co-authored-by: srawat <120587655+SwRaw@users.noreply.github.com>
2025-01-21 21:41:26 -06:00
Trowbridge, Ian de3a874b1a Add rocDecode API support (#4)
* Add rocDecode API support

* Update CI

* CI update: Sanitizers run on ubuntu 22.04

---------

Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
2025-01-21 21:00:43 -06:00
stali b427c07ffe fixed rdc link state print issue 2025-01-22 09:05:49 +08:00
Welton, Benjamin 3076660e60 Add gfx941/gfx942 to ValuPipeIssueUtil (#139) 2025-01-21 14:39:03 -08:00
Kanangot Balakrishnan, Bindhiya 94dca7073b [SWDEV-481004] Fix for incorrect gfx_version number (#8)
The target_graphics_version was not formatted properly and was
showing incorrect Target Name. Corrected this by fomatting
major, minor and revision numbers.

Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>
2025-01-21 15:46:56 -06:00
David Yat Sin ff671f7550 Update license for 2025
Change-Id: Ie3c7f6034c9a73d9a4af3c1432ed7ac3b4a6a3b1
2025-01-21 15:28:57 -05:00
Welton, Benjamin c6b52701c7 Add gfx940/gfx9 to ValuPipeIssueUtil (#138)
Was dropped, likely by mistake, in the transition to yaml
2025-01-21 12:12:39 -08:00
Chris Freehill e07320467c rocminfo: Update Debian depends to use libgcc1
Change-Id: I49e8f534393abe6b93f52a545e4baec720b6edde
2025-01-21 12:08:37 -06:00
Pryor, Adam 0ae4404a09 SWDEV-510089 Fix rocprof segfaulting on ctrl+c (#94)
Change-Id: Iaa0f3856bb8fed174cbc935b85739414ecd44758

Signed-off-by: adapryor <Adam.pryor@amd.com>
2025-01-21 10:30:31 -06:00
Swati Rawat 77c2a21a92 Update index.rst
Change-Id: I493e3dc3782608e4d0d712569a6e6fd3b376cdbe
2025-01-21 10:05:28 -05:00
Baraldi, Giovanni 081419b745 Fix throw on repeated filename (#124)
Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com>
2025-01-20 17:24:28 -08:00
Gill, Harkirat 95b3fead0e Update clone command in README (#137) 2025-01-20 14:20:15 -06:00