Commit Graph

64521 Commits

Author SHA1 Message Date
Mallya, Ameya Keshava f3377a24f9 Update rocm-ci-caller.yml
[ROCm/rocprofiler commit: 619836b4ea]
2025-01-13 18:54:35 -08:00
Mallya, Ameya Keshava 9cfabe0e09 Update rocm-ci-caller.yml
[ROCm/roctracer commit: 074efe9f50]
2025-01-13 18:53:44 -08:00
Mallya, Ameya Keshava 074efe9f50 Update rocm-ci-caller.yml 2025-01-13 18:53:44 -08:00
limeng12 016a1d9d39 [SWDEV-230863] Improve the functionality of RdcSmiHealth module.
Memory check:get the threshold of retired page number
EEPROM check:read and verify the checksum
Power/Thermal check: power/thermal throttle status counter

Signed-off-by: Meng Li <li.meng@amd.com>
Change-Id: Id2c751416eb5bf007e6e1da8dc05966a6ba1324e
2025-01-14 08:14:36 +08:00
limeng12 4f3b114740 [SWDEV-230863] Improve the functionality of RdcSmiHealth module.
Memory check:get the threshold of retired page number
EEPROM check:read and verify the checksum
Power/Thermal check: power/thermal throttle status counter

Signed-off-by: Meng Li <li.meng@amd.com>
Change-Id: Id2c751416eb5bf007e6e1da8dc05966a6ba1324e


[ROCm/rdc commit: 016a1d9d39]
2025-01-14 08:14:36 +08:00
Sourabh Betigeri c95bb38b2b SWDEV-507960 - Return with error code if stream of type hipStreamLegacy is being attempted to destroy
Change-Id: Iee7ada6a5a905b44360a7e4049fc8b1a45c80db0


[ROCm/clr commit: 9d8d35ae40]
2025-01-13 18:17:37 -05:00
Sourabh Betigeri 9d8d35ae40 SWDEV-507960 - Return with error code if stream of type hipStreamLegacy is being attempted to destroy
Change-Id: Iee7ada6a5a905b44360a7e4049fc8b1a45c80db0
2025-01-13 18:17:37 -05:00
Ioannis Assiouras 161d590405 SWDEV-503760 - Only consider allocations that are less than X% larger in a mempool request
Change-Id: I94acbca606fd4c575e2e1a9e34959ce650571867


[ROCm/clr commit: 44b6b6813d]
2025-01-13 16:57:26 -05:00
Ioannis Assiouras 44b6b6813d SWDEV-503760 - Only consider allocations that are less than X% larger in a mempool request
Change-Id: I94acbca606fd4c575e2e1a9e34959ce650571867
2025-01-13 16:57:26 -05:00
Rahul Manocha 0a9315f5e0 SWDEV-497288 - Add validation checks to hipGraphExecNodeSetParams
Change-Id: If8cde47bc8e62414333768e01064298d8a3d80ee


[ROCm/clr commit: 2b32d9aada]
2025-01-13 16:49:45 -05:00
Rahul Manocha 2b32d9aada SWDEV-497288 - Add validation checks to hipGraphExecNodeSetParams
Change-Id: If8cde47bc8e62414333768e01064298d8a3d80ee
2025-01-13 16:49:45 -05:00
Mallya, Ameya Keshava 437d6e584f Merge pull request #1 from AMD-ROCm-Internal/amd-master
Test PR

[ROCm/roctracer commit: b28af2f508]
2025-01-13 13:43:55 -08:00
Mallya, Ameya Keshava b28af2f508 Merge pull request #1 from AMD-ROCm-Internal/amd-master
Test PR
2025-01-13 13:43:55 -08:00
Mallya, Ameya Keshava 1ff572c3ee Create rocm-ci-caller.yml
[ROCm/roctracer commit: 7c278f090a]
2025-01-13 13:43:22 -08:00
Mallya, Ameya Keshava 7c278f090a Create rocm-ci-caller.yml 2025-01-13 13:43:22 -08:00
Mallya, Ameya Keshava f5267f7ab0 Merge pull request #1 from AMD-ROCm-Internal/amd-master
Test PR
2025-01-13 13:41:36 -08:00
Mallya, Ameya Keshava 457e61fad0 Merge pull request #1 from AMD-ROCm-Internal/amd-master
Test PR

[ROCm/rocprofiler commit: f5267f7ab0]
2025-01-13 13:41:36 -08:00
Mallya, Ameya Keshava bce807a560 Create rocm-ci-caller.yml 2025-01-13 13:40:41 -08:00
Mallya, Ameya Keshava fb7aefe2cf Create rocm-ci-caller.yml
[ROCm/rocprofiler commit: bce807a560]
2025-01-13 13:40:41 -08:00
Apurv Mishra ecf57310ca hsakmt: move 'counter_id' array to heap
local variable 'counter_id' exceeded the max single
use of stack, thus move to heap to prevent overflow

also, use of a contiguous memory block for 2D array
to reduce space complexity, add error messages for
NO_MEMORY exits and check MAX_COUNTER limit for IDs

Change-Id: Id0249ca767a336b31c759c693a82d3f5c950a2fa
Signed-off-by: Apurv Mishra <apurv.mishra@amd.com>
2025-01-13 16:29:16 -05:00
Apurv Mishra 4ea98d22c4 hsakmt: move 'counter_id' array to heap
local variable 'counter_id' exceeded the max single
use of stack, thus move to heap to prevent overflow

also, use of a contiguous memory block for 2D array
to reduce space complexity, add error messages for
NO_MEMORY exits and check MAX_COUNTER limit for IDs

Change-Id: Id0249ca767a336b31c759c693a82d3f5c950a2fa
Signed-off-by: Apurv Mishra <apurv.mishra@amd.com>


[ROCm/ROCR-Runtime commit: ecf57310ca]
2025-01-13 16:29:16 -05:00
Harish Kasiviswanathan 1d71975fcc kfdtest: Fix KFDASMTest failure on older ASICs
HW_REG_HW_ID1 is only available from gfx12 onwards

Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Change-Id: Ibf4bd62e01ada3dee6dd88762ccb853bab63ff87
2025-01-13 15:22:20 -05:00
Harish Kasiviswanathan e004ab79f5 kfdtest: Fix KFDASMTest failure on older ASICs
HW_REG_HW_ID1 is only available from gfx12 onwards

Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Change-Id: Ibf4bd62e01ada3dee6dd88762ccb853bab63ff87


[ROCm/ROCR-Runtime commit: 1d71975fcc]
2025-01-13 15:22:20 -05:00
Harish Kasiviswanathan f8ae5c47ba kfdtest: Add gfx12 to TargetList for AssembleShaders
Add gfx12 so that it gets tested when KFDASMTest.AssembleShaders is run.
GWS support has been removed for gfx12. Modify shaders to take that into
account.

Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Change-Id: I70e87febb6388852ea54d69cf9201339a7910581
2025-01-13 15:22:15 -05:00
Harish Kasiviswanathan 0c461ee74a kfdtest: Add gfx12 to TargetList for AssembleShaders
Add gfx12 so that it gets tested when KFDASMTest.AssembleShaders is run.
GWS support has been removed for gfx12. Modify shaders to take that into
account.

Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Change-Id: I70e87febb6388852ea54d69cf9201339a7910581


[ROCm/ROCR-Runtime commit: f8ae5c47ba]
2025-01-13 15:22:15 -05:00
Jaydeep Patel d43cc9ab7d SWDEV-500201 - UUID deduction logic ends up accessing empty map/nullptr on Phoenix2 APU as it finds GFX-XX which is ignored in logic.
Change-Id: Ieed60dc4665d2b87ea994834457b026a3f58cb49


[ROCm/hip-tests commit: 9be5380d40]
2025-01-13 13:53:08 -05:00
Jaydeep Patel 9be5380d40 SWDEV-500201 - UUID deduction logic ends up accessing empty map/nullptr on Phoenix2 APU as it finds GFX-XX which is ignored in logic.
Change-Id: Ieed60dc4665d2b87ea994834457b026a3f58cb49
2025-01-13 13:53:08 -05:00
taosang2 b543624e2c SWDEV-438503 - Enable unified memory test
Change-Id: I7bfc8600521d78d8c73ab626f9846cd268651279


[ROCm/hip-tests commit: 22485fc93f]
2025-01-13 13:49:55 -05:00
taosang2 22485fc93f SWDEV-438503 - Enable unified memory test
Change-Id: I7bfc8600521d78d8c73ab626f9846cd268651279
2025-01-13 13:49:55 -05:00
Rambabu Swargam 0c242e09cb SWDEV-493285 - [catch2][dtest] Additional testcases for hipGraphInstantiateWithFlags
Change-Id: I5c5261cb908cf4dfa66f4e36312da6befe9fabc0


[ROCm/hip-tests commit: 95167b9d96]
2025-01-13 13:48:39 -05:00
Rambabu Swargam 95167b9d96 SWDEV-493285 - [catch2][dtest] Additional testcases for hipGraphInstantiateWithFlags
Change-Id: I5c5261cb908cf4dfa66f4e36312da6befe9fabc0
2025-01-13 13:48:39 -05:00
Rahul Manocha 17ad1834d4 SWDEV-492165 - Add support for 16 bit atomicAdd and atomicCAS
Change-Id: I7f1e4876fe2960dff1775d27cb6443a89e146c86


[ROCm/clr commit: 93cff75928]
2025-01-13 13:35:40 -05:00
Rahul Manocha 93cff75928 SWDEV-492165 - Add support for 16 bit atomicAdd and atomicCAS
Change-Id: I7f1e4876fe2960dff1775d27cb6443a89e146c86
2025-01-13 13:35:40 -05:00
Jacob Lambert aa918756e8 SWDEV-477039 - Fix spelling typos
Change-Id: Ia46e07ec0a001b7e19bec999597028acd4ee7077


[ROCm/clr commit: 805462a77b]
2025-01-13 12:17:46 -05:00
Jacob Lambert 805462a77b SWDEV-477039 - Fix spelling typos
Change-Id: Ia46e07ec0a001b7e19bec999597028acd4ee7077
2025-01-13 12:17:46 -05:00
Marko Arandjelovic 33f65a30e8 SWDEV-475382 - Add unit test for hipGetTextureAlignmentOffset
Change-Id: I6ec65522038ffc3761970542df4570cead3026fe


[ROCm/hip-tests commit: d9162f9abe]
2025-01-13 11:35:02 -05:00
Marko Arandjelovic d9162f9abe SWDEV-475382 - Add unit test for hipGetTextureAlignmentOffset
Change-Id: I6ec65522038ffc3761970542df4570cead3026fe
2025-01-13 11:35:02 -05:00
Jaydeep Patel 62c5a23f78 SWDEV-497532 - Pass correct stream to MemcpyDeviceToDeviceShell to sync.
Change-Id: I7fe2b39e49725d01e7d9ec5b4ab9927a96dc951c


[ROCm/hip-tests commit: eb894a8b8d]
2025-01-13 10:40:23 -05:00
Jaydeep Patel eb894a8b8d SWDEV-497532 - Pass correct stream to MemcpyDeviceToDeviceShell to sync.
Change-Id: I7fe2b39e49725d01e7d9ec5b4ab9927a96dc951c
2025-01-13 10:40:23 -05:00
Aidan Belton-Schure dc2fa93f37 SWDEV-482851 - Do not release last suballocator chunk
Change-Id: Ib28dc9df68e454ee0c0c699c1ff17588fd55f802


[ROCm/clr commit: 451b0ce768]
2025-01-13 10:14:40 -05:00
Aidan Belton-Schure 451b0ce768 SWDEV-482851 - Do not release last suballocator chunk
Change-Id: Ib28dc9df68e454ee0c0c699c1ff17588fd55f802
2025-01-13 10:14:40 -05:00
Aidan Belton e403f56351 SWDEV-475380 - fix perftests on cuda
Change-Id: Iae6fc6cfdc4c2e6cb07562a03ff4e055601ed463


[ROCm/hip-tests commit: 2053abc3b1]
2025-01-13 09:22:51 -05:00
Aidan Belton 2053abc3b1 SWDEV-475380 - fix perftests on cuda
Change-Id: Iae6fc6cfdc4c2e6cb07562a03ff4e055601ed463
2025-01-13 09:22:51 -05:00
Chris Freehill b1d6cacf79 rocr: Remove RuntimeCleanup and use of loaded()
The recent static initialization changes cause this clean up to
happen when it previously never did. The result of ~RuntimeCleanup()
being executed is that the static global "loaded_" is set to false,
which in turn prevents hsa_init() from executing again. Clean up
already happens when hsa_shut_down() occurs.

Change-Id: Ib5cefb80d82880c1945e04eb6ec246bc2c7d2324
2025-01-13 09:18:13 -05:00
Chris Freehill abd81afb9c rocr: Remove RuntimeCleanup and use of loaded()
The recent static initialization changes cause this clean up to
happen when it previously never did. The result of ~RuntimeCleanup()
being executed is that the static global "loaded_" is set to false,
which in turn prevents hsa_init() from executing again. Clean up
already happens when hsa_shut_down() occurs.

Change-Id: Ib5cefb80d82880c1945e04eb6ec246bc2c7d2324


[ROCm/ROCR-Runtime commit: b1d6cacf79]
2025-01-13 09:18:13 -05:00
Lang Yu fe5f12342d kfdtest: consolidate LoopIsa
1, Initialize the registers before using them is the best practice.
Though the use case here doesn't care whether the registers are
initialized or not, some emulators complain the "read_before_write"
behavior. Initialize the registers used to silence these complaints.

2, Update s_wait stuff for gfx12.

Change-Id: I462b2b0b5017dd2876a5954169d3b6b2f1c2a75b
Signed-off-by: Lang Yu <lang.yu@amd.com>
2025-01-10 21:27:23 -05:00
Lang Yu 6c18e6188d kfdtest: consolidate LoopIsa
1, Initialize the registers before using them is the best practice.
Though the use case here doesn't care whether the registers are
initialized or not, some emulators complain the "read_before_write"
behavior. Initialize the registers used to silence these complaints.

2, Update s_wait stuff for gfx12.

Change-Id: I462b2b0b5017dd2876a5954169d3b6b2f1c2a75b
Signed-off-by: Lang Yu <lang.yu@amd.com>


[ROCm/ROCR-Runtime commit: fe5f12342d]
2025-01-10 21:27:23 -05:00
Baraldi, Giovanni 8abb65b166 Adding source snapshot and partial serialization (#99)
* Adding source snapshot

* Adding option to serialize only on target kernel

* Fix for tidy

* Formatting

* Testing the new flag

---------

Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com>

[ROCm/rocprofiler-sdk commit: a2fa188e14]
2025-01-10 15:43:06 -08:00
Baraldi, Giovanni a2fa188e14 Adding source snapshot and partial serialization (#99)
* Adding source snapshot

* Adding option to serialize only on target kernel

* Fix for tidy

* Formatting

* Testing the new flag

---------

Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com>
2025-01-10 15:43:06 -08:00
Chris Freehill 425d206003 Support for generic ISAs in rocm_agent_enumerator
Change-Id: Ie6cf2f1930e27afd6564250e108af1f10864946e


[ROCm/rocminfo commit: 7f417dc598]
2025-01-10 10:46:15 -06:00