Commit Graph

37726 Commits

Author SHA1 Message Date
Mallya, Ameya Keshava a0e9b3716a Added PSDB trigger for npi
[ROCm/roctracer commit: 3ac827eb87]
2025-01-23 16:13:32 -08: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
Mallya, Ameya Keshava 1f6b476eff Added PSDB trigger for npi
[ROCm/rocprofiler commit: 11cd25d1f5]
2025-01-23 16:12:59 -08:00
ywang103-amd 8079e2e10b enable rocprofv3 for all old soc architectures (#539)
* enable rocprofv3 for all old soc archetectures

* remove gfx906 from rocprofv3

[ROCm/rocprofiler-compute commit: 713570908a]
2025-01-23 15:37:00 -05: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 c5c44a9cba 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>

[ROCm/rocprofiler-compute commit: 34760ff814]
2025-01-23 13:09:32 -06: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
zichguan-amd 272ef9a7bf SWDEV-509518 - Allow LLVM_ROOT and Clang_ROOT to be used with find_program
Fixes #123. find_program doesn't follow CMP0074 and thus ignores LLVM_ROOT and Clang_ROOT. This change adds LLVM_ROOT and Clang_ROOT to the search path of find_program for llvm-mc and clang in hiprtc to mimics previous add_package behaviour.
Caveat: cmake-specific variables like CMAKE_PREFIX_PATH will take precedence over paths specified with HINTS for find_program, there's no way to change the ordering unless we skip cmake-specific variables all together using NO_CMAKE_PATH and NO_CMAKE_ENVIRONMENT_PATH.

Change-Id: I1fedb60cda09744416e19b3c6e3e0c5c9045f8e7
2025-01-23 11:50:36 -05: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 7c6afe75dd Fixing corrupted CHANGELOG (#152)
* Fixing corrupted CHANGELOG

* updating changelog

[ROCm/rocprofiler-sdk commit: 2f65f99d2c]
2025-01-23 00:12:12 -06:00
Bhardwaj, Gopesh 2f65f99d2c Fixing corrupted CHANGELOG (#152)
* Fixing corrupted CHANGELOG

* updating changelog
2025-01-23 00:12:12 -06:00
Madsen, Jonathan 3de44de3b5 Upload artifacts only on 'workflow_dispatch' (#147)
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>

[ROCm/rocprofiler-sdk commit: 34145fa762]
2025-01-22 19:44:19 -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 edb51fc861 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>

[ROCm/rocprofiler-sdk commit: 97b7a6315d]
2025-01-22 19:11:20 -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 bc76e99c16 Add ELFABIVERSION_AMDGPU_HSA_V6 emitted by recent llvm compilers (#141)
Co-authored-by: Larry Meadows <lmeadows@amd.com>

[ROCm/rocprofiler-sdk commit: 93f19cf5ca]
2025-01-22 13:42:48 -08: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
Galantsev, Dmitrii 710692b8e7 Update workflow to artifacts@v4
Change-Id: Ib08a0afc0954ea2eb581425cbf9cf1d7715cebc5
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/rdc commit: 9dd58b6907]
2025-01-22 14:31:31 -06:00
Peter Park 4b097e6832 Specify path to sphinx configuration in .readthedocs.yaml (#536)
[ROCm/rocprofiler-compute commit: 5063e14309]
2025-01-22 15:22:26 -05:00
Peter Park 5063e14309 Specify path to sphinx configuration in .readthedocs.yaml (#536) 2025-01-22 15:22:26 -05:00
Kuricheti, Mythreya a4732359ad Upload packages only on 'workflow_dispatch' (#145)
[ROCm/rocprofiler-sdk commit: 9789f76ee6]
2025-01-22 13:50:15 -06: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 04ace57589 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>

[ROCm/rocprofiler-sdk commit: 73e7f8cfb1]
2025-01-22 11:34:21 -06: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
SrinivasaRao 01ad9df4b6 SWDEV-493282-[catch2][dtest]-Negative Tests for the hipGraphBatchMemOpNodeSetParams API
Change-Id: I4dac4608b054a7c93c2fb94b047f5e0b3f96f74d
2025-01-22 12:27:33 -05:00
Trowbridge, Ian 0b0a3d473a 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

[ROCm/rocprofiler-sdk commit: 73e72bb088]
2025-01-22 11:20:50 -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 66465c3954 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

[ROCm/rocprofiler-sdk commit: 6bb60bf930]
2025-01-22 11:19:47 -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 9df3eb19ce 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>

[ROCm/rocprofiler-sdk commit: 89cfb5317d]
2025-01-22 11:18:19 -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 e69ed1475f Changed memory_allocation.csv name to memory_allocation_trace.csv (#111)
[ROCm/rocprofiler-sdk commit: 042c761b64]
2025-01-22 11:14:42 -06:00
Trowbridge, Ian 042c761b64 Changed memory_allocation.csv name to memory_allocation_trace.csv (#111) 2025-01-22 11:14:42 -06:00
Marko Arandjelovic 3809d1bb75 SWDEV-489617 - Enable Unit_hipMemcpyAsync_Positive_Synchronization_Behavior
- Since any-host-to-any-host as always synchronous, there's no need for
separate functions
 - Removed 'return' statement as it skips the rest of the test.

Change-Id: If70e0b21ad8151311d5ac7c5de789f6265cf44b6
2025-01-22 10:54:18 -05:00
Vladana Stojiljkovic 5e32a3fcd2 SWDEV-477597 - Implement tests for hipTexRefSetFlags
Change-Id: I0651882fe2eef1565a4fedfdd2fa4b23e4bb3f0a
2025-01-22 10:53:44 -05:00
Vladana Stojiljkovic d617a002eb SWDEV-475701 Implement tests for hipUnbindTexture
Change-Id: I16565b01c629774d48e8665ffb6901600980e297
2025-01-22 10:53:24 -05:00
Vladana Stojiljkovic 7fcc9542d6 SWDEV-478207 - Implement tests for hipTexRefGetMaxAnisotropy
Change-Id: I18e1aff22d56852c038d643b4527230a7a1ff22c
2025-01-22 10:53:04 -05:00
Marko Arandjelovic d7b38d051f SWDEV-478050 - Add unit test for hipTexRefGetFormat and hipTexRefSetFormat
Change-Id: Iee23fdcb20efa9529478180cdb5c28c6be702966
2025-01-22 10:52:29 -05:00
Marko Arandjelovic 7ed4d87974 SWDEV-476856 - Add unit test for hipGetTextureReference
Change-Id: I4724fb9f9d68c3ab7d4396159e46857f84e35446
2025-01-22 10:52:05 -05:00
Marko Arandjelovic 114524f732 SWDEV-475114 - Add unit test for hipBindTexture2D
Change-Id: I6d7c1b4c7d40433c914dac2b991acf228cef318f
2025-01-22 10:51:15 -05:00
Marko Arandjelovic 89c16b9ded SWDEV-478520 - Add unit test for hipTexRefSetAddress
Change-Id: I488f6d74f2ded071767c6e785845cc6d489ebe66
2025-01-22 10:50:47 -05:00
Marko Arandjelovic e7e07f1fe6 SWDEV-476825 - Add unit test for hipTexRefGetAddress
Change-Id: I65623737b6ce3cde061f6d5bf4f1c61b20a2c66f
2025-01-22 10:49:47 -05:00
Rahul Manocha 9a7d9688d7 SWDEV-488397 - Enable Peer memory access for threadfence tests
Change-Id: I4fa8c033c06dc4d247d29c43438e6a56343b0bf8
2025-01-22 10:36:16 -05:00