76333 Commits

Author SHA1 Message Date
Aidan Belton-Schure 04ac24c7ac SWDEV-481102 - Update install docs
Change-Id: Ib73867259538374420a2f7bdf4958dc461761b84


[ROCm/hip commit: 58a132446d]
2024-11-27 05:39:13 -05:00
Aidan Belton-Schure 58a132446d SWDEV-481102 - Update install docs
Change-Id: Ib73867259538374420a2f7bdf4958dc461761b84
2024-11-27 05:39:13 -05:00
Aidan Belton-Schure 0cb25faf88 SWDEV-436099 Use new amdgcn_ballot builtin
Change-Id: I024fabc6c5b3f39c66885eb7615953f4d0432e9a


[ROCm/clr commit: 9652d69575]
2024-11-27 04:34:50 -05:00
Aidan Belton-Schure 9652d69575 SWDEV-436099 Use new amdgcn_ballot builtin
Change-Id: I024fabc6c5b3f39c66885eb7615953f4d0432e9a
2024-11-27 04:34:50 -05:00
Emily Deng c8031f2a69 kfdtest: Fix the dead lock SignalHandling
The issue arises in the CatchSignal function, which attempts to write to
the standard error stream upon receiving a signal. However, the standard
error stream may already be locked at this point, as the parent process
also attempts to write to the standard error stream after mapping the GPU
memory. This leads to a deadlock, with the program waiting for the
release of the lock on the standard error stream.

Signed-off-by: Emily Deng <Emily.Deng@amd.com>
Change-Id: Ie69354f4342b96ffe1f2a87f655687da1cbee4b9
2024-11-26 19:39:45 -05:00
Emily Deng 7f0c2de9ad kfdtest: Fix the dead lock SignalHandling
The issue arises in the CatchSignal function, which attempts to write to
the standard error stream upon receiving a signal. However, the standard
error stream may already be locked at this point, as the parent process
also attempts to write to the standard error stream after mapping the GPU
memory. This leads to a deadlock, with the program waiting for the
release of the lock on the standard error stream.

Signed-off-by: Emily Deng <Emily.Deng@amd.com>
Change-Id: Ie69354f4342b96ffe1f2a87f655687da1cbee4b9


[ROCm/ROCR-Runtime commit: c8031f2a69]
2024-11-26 19:39:45 -05:00
Mallya, Ameya Keshava efe96fc045 Created OSDB workflow for mainline promotion
[ROCm/rocprofiler-sdk commit: 09cf9540fe]
2024-11-26 13:22:30 -08:00
Mallya, Ameya Keshava 09cf9540fe Created OSDB workflow for mainline promotion 2024-11-26 13:22:30 -08:00
Yiltan ab0be96680 Merge pull request #54 from Yiltan/sig-ops
Added SHMEM Signalling Operations

[ROCm/rocshmem commit: 0c5524d7df]
2024-11-26 15:38:12 -05:00
Yiltan 0c5524d7df Merge pull request #54 from Yiltan/sig-ops
Added SHMEM Signalling Operations
2024-11-26 15:38:12 -05:00
Yiltan Temucin 0f6eb62aed Updated gfilter flags for new unit tests
[ROCm/rocshmem commit: 37fe71343f]
2024-11-26 13:51:29 -06:00
Yiltan Temucin 37fe71343f Updated gfilter flags for new unit tests 2024-11-26 13:51:29 -06:00
Galantsev, Dmitrii b5272fb99c CI - Use vars instead of secrets
Change-Id: Ib917b8677c204a75bedcb345978f2b09216b115f
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2024-11-26 11:17:50 -06:00
Galantsev, Dmitrii 3f11f0e76b CI - Use vars instead of secrets
Change-Id: Ib917b8677c204a75bedcb345978f2b09216b115f
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/rdc commit: b5272fb99c]
2024-11-26 11:17:50 -06:00
taosang2 225cedd44c SWDEV-459479 - Add compressed codeobj test
Add simple tests to verify compressed code
objects.

Change-Id: Iae148c3c928e18247624937512918dbb3cbc462d


[ROCm/hip-tests commit: 6e1c4c2655]
2024-11-26 12:14:15 -05:00
taosang2 6e1c4c2655 SWDEV-459479 - Add compressed codeobj test
Add simple tests to verify compressed code
objects.

Change-Id: Iae148c3c928e18247624937512918dbb3cbc462d
2024-11-26 12:14:15 -05:00
Satyanvesh Dittakavi 04af42368b SWDEV-494808 - Do not allow hipMallocAsync/hipFreeAsync when another stream is capturing
hipMallocAsync/hipFreeAsync APIs should return error stating
operation is not supported, if a stream is actively capturing
and is different from the passed stream

Change-Id: I2a1b8260c5eb22d99a936ac529d6788a83f81a17


[ROCm/clr commit: 70b20857e9]
2024-11-26 12:12:56 -05:00
Satyanvesh Dittakavi 70b20857e9 SWDEV-494808 - Do not allow hipMallocAsync/hipFreeAsync when another stream is capturing
hipMallocAsync/hipFreeAsync APIs should return error stating
operation is not supported, if a stream is actively capturing
and is different from the passed stream

Change-Id: I2a1b8260c5eb22d99a936ac529d6788a83f81a17
2024-11-26 12:12:56 -05:00
Brandon Potter 994080b1d9 Fix URL for github page
[ROCm/rocshmem commit: 7e4aa5d601]
2024-11-26 11:09:37 -06:00
Brandon Potter 7e4aa5d601 Fix URL for github page 2024-11-26 11:09:37 -06:00
amd-jmacaran 40c9d3d7a2 SWDEV-458516 - External CI: Support commits on both staging and mainline
Change-Id: I1970029bdd6469a7a79c28b63b451e8be462e142


[ROCm/clr commit: 31ee9f02ff]
2024-11-26 11:36:18 -05:00
amd-jmacaran 31ee9f02ff SWDEV-458516 - External CI: Support commits on both staging and mainline
Change-Id: I1970029bdd6469a7a79c28b63b451e8be462e142
2024-11-26 11:36:18 -05:00
Rahul Manocha 234f7bd197 SWDEV-497288 - Fix Segfault when kernel param is nullptr
1) for case where kernelParam_.func = nullptr, the validation
fails in setParam call and memory is not alloced for kernelParams
2) destructor path segfaults trying to free the kernelParams memory.
3) copy of params is done after function validation is successful.

Change-Id: I6338e0c89f259632e4115f0508e2f240bc207fd9


[ROCm/clr commit: 1ac9286b5a]
2024-11-26 11:34:41 -05:00
Rahul Manocha 1ac9286b5a SWDEV-497288 - Fix Segfault when kernel param is nullptr
1) for case where kernelParam_.func = nullptr, the validation
fails in setParam call and memory is not alloced for kernelParams
2) destructor path segfaults trying to free the kernelParams memory.
3) copy of params is done after function validation is successful.

Change-Id: I6338e0c89f259632e4115f0508e2f240bc207fd9
2024-11-26 11:34:41 -05:00
Rahul Manocha d6a34b0f9f SWDEV-497288 - Enable hipGraphExecSetParams for Ext SemWait and SemSignal Nodes
Change-Id: I7184a3a04ac17d3d841222ae1559db66d73a429c


[ROCm/clr commit: e0c11624e5]
2024-11-26 11:34:18 -05:00
Rahul Manocha e0c11624e5 SWDEV-497288 - Enable hipGraphExecSetParams for Ext SemWait and SemSignal Nodes
Change-Id: I7184a3a04ac17d3d841222ae1559db66d73a429c
2024-11-26 11:34:18 -05:00
Eric Huang 09b899b079 kfdtest: increase test timeout and optimize evict tests timeout
there are some timeout issues of evict tests on recent new boards,
it is to solve those issues and optimize evict timeout, as well
as to give user a chance to change timeout in command line.

Signed-off-by: Eric Huang <jinhuieric.huang@amd.com>
Change-Id: I2f40c8ea809c55675b0d0b62296b663481e5fb16
2024-11-26 11:04:29 -05:00
Eric Huang c931ec17d4 kfdtest: increase test timeout and optimize evict tests timeout
there are some timeout issues of evict tests on recent new boards,
it is to solve those issues and optimize evict timeout, as well
as to give user a chance to change timeout in command line.

Signed-off-by: Eric Huang <jinhuieric.huang@amd.com>
Change-Id: I2f40c8ea809c55675b0d0b62296b663481e5fb16


[ROCm/ROCR-Runtime commit: 09b899b079]
2024-11-26 11:04:29 -05:00
Apurv Mishra d91a14ae0c rocr: initialized missing fields in ext_table
Added initializations for 'ext_table' in 'hsa_system_get_major_extension_table()'

Change-Id: I5e46592192b7d7a294d30011481f16e93db11794
Signed-off-by: Apurv Mishra <apurv.mishra@amd.com>
Reviewed-by: David Yat Sin <david.yatsin@amd.com>
2024-11-26 10:45:29 -05:00
Apurv Mishra b552e9d15d rocr: initialized missing fields in ext_table
Added initializations for 'ext_table' in 'hsa_system_get_major_extension_table()'

Change-Id: I5e46592192b7d7a294d30011481f16e93db11794
Signed-off-by: Apurv Mishra <apurv.mishra@amd.com>
Reviewed-by: David Yat Sin <david.yatsin@amd.com>


[ROCm/ROCR-Runtime commit: d91a14ae0c]
2024-11-26 10:45:29 -05:00
Shweta Khatri 2cf3813f9f rocrtst: Disable FreeQueueRingBufferTest temporarily
This test is disabled until kernel patches are added to handle invalid
user actions gracefully. These patches validate and block operations
like freeing active queue buffers, which can corrupt the driver's state
if unhandled.

Currently, such operations result in driver state corruption, leading
to segmentation faults and subsequent failures during runtime.

Change-Id: If4c321a14df950a639141fc96048889659c14477
2024-11-26 09:18:47 -05:00
Shweta Khatri 7019761f4f rocrtst: Disable FreeQueueRingBufferTest temporarily
This test is disabled until kernel patches are added to handle invalid
user actions gracefully. These patches validate and block operations
like freeing active queue buffers, which can corrupt the driver's state
if unhandled.

Currently, such operations result in driver state corruption, leading
to segmentation faults and subsequent failures during runtime.

Change-Id: If4c321a14df950a639141fc96048889659c14477


[ROCm/ROCR-Runtime commit: 2cf3813f9f]
2024-11-26 09:18:47 -05:00
Jeffrey Novotny cc9209f770 Update rccl changelog for 6.3.1 (#1433)
* Update rccl changelog for 6.3.1

* Fix version number

* Correct RCCL release version

* Added details to 6.3.0 changelog

---------

Co-authored-by: corey-derochie-amd <161367113+corey-derochie-amd@users.noreply.github.com>

[ROCm/rccl commit: e42f10a361]
2024-11-26 08:46:37 -05:00
Jeffrey Novotny e42f10a361 Update rccl changelog for 6.3.1 (#1433)
* Update rccl changelog for 6.3.1

* Fix version number

* Correct RCCL release version

* Added details to 6.3.0 changelog

---------

Co-authored-by: corey-derochie-amd <161367113+corey-derochie-amd@users.noreply.github.com>
2024-11-26 08:46:37 -05:00
Anusha GodavarthySurya 04cc0ceeb1 SWDEV-491643 - AQL packets are captured for kernels disable sdma profiling
hsa_amd_profiling_async_copy_enable is taking 45us for the first call. Disable sdma profiling for enqueuing captured kernel packets and for accumulate command.
Change-Id: I80b51a58c46bccc9c1025e9331515f57c97b5a2a


[ROCm/clr commit: 9820480cbd]
2024-11-26 08:37:31 -05:00
Anusha GodavarthySurya 9820480cbd SWDEV-491643 - AQL packets are captured for kernels disable sdma profiling
hsa_amd_profiling_async_copy_enable is taking 45us for the first call. Disable sdma profiling for enqueuing captured kernel packets and for accumulate command.
Change-Id: I80b51a58c46bccc9c1025e9331515f57c97b5a2a
2024-11-26 08:37:31 -05:00
kjayapra-amd 240a27724b SWDEV-496106 - Use lock_ops to avoid race condition in safe_stream.
Change-Id: I5e98c34a41434e2f7d2e6406ea30ddcf01b1091c


[ROCm/clr commit: 39b64b57d9]
2024-11-26 06:56:56 -05:00
kjayapra-amd 39b64b57d9 SWDEV-496106 - Use lock_ops to avoid race condition in safe_stream.
Change-Id: I5e98c34a41434e2f7d2e6406ea30ddcf01b1091c
2024-11-26 06:56:56 -05:00
dependabot[bot] fefba42d06 Bump rocm-docs-core[api_reference] from 1.8.5 to 1.9.0 in /docs/sphinx (#84)
Bumps [rocm-docs-core[api_reference]](https://github.com/ROCm/rocm-docs-core) from 1.8.5 to 1.9.0.
- [Release notes](https://github.com/ROCm/rocm-docs-core/releases)
- [Changelog](https://github.com/ROCm/rocm-docs-core/blob/v1.9.0/CHANGELOG.md)
- [Commits](https://github.com/ROCm/rocm-docs-core/compare/v1.8.5...v1.9.0)

---
updated-dependencies:
- dependency-name: rocm-docs-core[api_reference]
  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>

[ROCm/rocjpeg commit: 57dc244b7e]
2024-11-26 06:46:24 -05:00
dependabot[bot] 57dc244b7e Bump rocm-docs-core[api_reference] from 1.8.5 to 1.9.0 in /docs/sphinx (#84)
Bumps [rocm-docs-core[api_reference]](https://github.com/ROCm/rocm-docs-core) from 1.8.5 to 1.9.0.
- [Release notes](https://github.com/ROCm/rocm-docs-core/releases)
- [Changelog](https://github.com/ROCm/rocm-docs-core/blob/v1.9.0/CHANGELOG.md)
- [Commits](https://github.com/ROCm/rocm-docs-core/compare/v1.8.5...v1.9.0)

---
updated-dependencies:
- dependency-name: rocm-docs-core[api_reference]
  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>
2024-11-26 06:46:24 -05:00
Satyanvesh Dittakavi 19ab862ea3 SWDEV-489384 - SWDEV-489388 - Fix memory leaks in hipStreamGetDevice catch tests
Change-Id: I7e96edbdbb8cde8b81c471bd0572f95df40d3530


[ROCm/hip-tests commit: 01bfe61293]
2024-11-26 01:56:28 -05:00
Satyanvesh Dittakavi 01bfe61293 SWDEV-489384 - SWDEV-489388 - Fix memory leaks in hipStreamGetDevice catch tests
Change-Id: I7e96edbdbb8cde8b81c471bd0572f95df40d3530
2024-11-26 01:56:28 -05:00
Satyanvesh Dittakavi 30d579a81b SWDEV-487649 - SWDEV-487639 - SWDEV-487636 - Fix memory leaks in catch tests
Change-Id: I7943ecffec6d470789aabde07e6c52d6b871cc13


[ROCm/hip-tests commit: 9cf127697e]
2024-11-26 01:55:39 -05:00
Satyanvesh Dittakavi 9cf127697e SWDEV-487649 - SWDEV-487639 - SWDEV-487636 - Fix memory leaks in catch tests
Change-Id: I7943ecffec6d470789aabde07e6c52d6b871cc13
2024-11-26 01:55:39 -05:00
Galantsev, Dmitrii 94005119d6 CI - Add initial config
Change-Id: I02a08e3f761b7997d8835566b81654431423405d
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2024-11-25 21:43:33 -06:00
Galantsev, Dmitrii 7778c34142 CI - Add initial config
Change-Id: I02a08e3f761b7997d8835566b81654431423405d
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/rdc commit: 94005119d6]
2024-11-25 21:43:33 -06:00
Aryan Salmanpour 9394c3cea9 Update samples (#82)
* Update samples

* Simplify the arguments of the DecodeImages function by grouping some of them into a struct.

* Modify the logic for selecting the valid images per batch

* Modify the logic for selecting the valid images per batch for jpegDecodeBatched sample too

[ROCm/rocjpeg commit: a4f3daef1e]
2024-11-25 20:40:50 -05:00
Aryan Salmanpour a4f3daef1e Update samples (#82)
* Update samples

* Simplify the arguments of the DecodeImages function by grouping some of them into a struct.

* Modify the logic for selecting the valid images per batch

* Modify the logic for selecting the valid images per batch for jpegDecodeBatched sample too
2024-11-25 20:40:50 -05:00
Ajay ffc418c7fd SWDEV-1 - avoid same stream target name for tests
Having same target name causes same includes to be called twice

Change-Id: I53469a07e6dee375ea4a4700ccac3c9487b79e4a


[ROCm/hip-tests commit: c03ad253fd]
2024-11-25 17:50:24 -05:00
Ajay c03ad253fd SWDEV-1 - avoid same stream target name for tests
Having same target name causes same includes to be called twice

Change-Id: I53469a07e6dee375ea4a4700ccac3c9487b79e4a
2024-11-25 17:50:24 -05:00