Commit Graph

64521 Commits

Author SHA1 Message Date
Ioannis Assiouras 8f54aeb765 SWDEV-511813 - Fix linkage of hipRTC-header.o into libhiprtc.a
Using target_link_libraries does not properly link the hipRTC-header.o
into libhiprtc for static build. Change to use target_sources instead.
This does not affect the linkage in the shared build.

Change-Id: I626f9eacc1637b792a50e7ddddb5db09e704ac4a
2025-03-06 16:29:57 -05:00
David Yat Sin 02b38d0614 rocr: Put back scratch_backing_memory_byte_size
The scratch_backing_memory_byte_size is not used by CP, but it is
currently used by rocgdb. Putting the field back, but we need to find a
solution for alt_scratch_backing_memory_byte_size.

Also, completely disabling alternate scratch as we need some changes to
support debugger.
2025-03-06 16:23:38 -05:00
David Yat Sin e130172218 rocr: Put back scratch_backing_memory_byte_size
The scratch_backing_memory_byte_size is not used by CP, but it is
currently used by rocgdb. Putting the field back, but we need to find a
solution for alt_scratch_backing_memory_byte_size.

Also, completely disabling alternate scratch as we need some changes to
support debugger.


[ROCm/ROCR-Runtime commit: 02b38d0614]
2025-03-06 16:23:38 -05:00
Julia Jiang f07191a748 SWDEV-509855 - Update hipDeviceAttributePciDomainID in hipother
Change-Id: Ib245c90c78a27ea48875aa183c1727a17b62c936


[ROCm/hipother commit: 3cdab14a23]
2025-03-06 15:34:29 -05:00
Julia Jiang 3cdab14a23 SWDEV-509855 - Update hipDeviceAttributePciDomainID in hipother
Change-Id: Ib245c90c78a27ea48875aa183c1727a17b62c936
2025-03-06 15:34:29 -05:00
David Galiffi 92e439627e Fix logging error (#130)
When we create profile config with rocprofiler we log the counters being registered. However, this log was being skipped in certain cases.

[ROCm/rocprofiler-systems commit: eb0a969a9c]
2025-03-06 14:30:45 -05:00
David Galiffi eb0a969a9c Fix logging error (#130)
When we create profile config with rocprofiler we log the counters being registered. However, this log was being skipped in certain cases.
2025-03-06 14:30:45 -05:00
Jonathan Kim c879fdefcf kfdtest: Add KFD SDMA queue reset testing
The KFD can per-SDMA queue reset similar to compute queue reset.
Add test.
2025-03-06 14:04:42 -05:00
Jonathan Kim 8cbb23183c kfdtest: Add KFD SDMA queue reset testing
The KFD can per-SDMA queue reset similar to compute queue reset.
Add test.


[ROCm/ROCR-Runtime commit: c879fdefcf]
2025-03-06 14:04:42 -05:00
Jonathan Kim ee890e7d2b kfdtest: Add KFD SDMA queue reset testing
The KFD can per-SDMA queue reset similar to compute queue reset.
Add test.
2025-03-06 14:04:42 -05:00
Jonathan Kim 36c69a6cff kfdtest: Add KFD SDMA queue reset testing
The KFD can per-SDMA queue reset similar to compute queue reset.
Add test.


[ROCm/ROCR-Runtime commit: ee890e7d2b]
2025-03-06 14:04:42 -05:00
Jonathan Kim d047708317 kfdtest: Allow user to modify packet size for SDMA write packets
This is primarily used for debug and negative testing for SDMA queue
reset and shouldn't be used for normal run cases.
2025-03-06 14:04:42 -05:00
Jonathan Kim 06b2c3aeb6 kfdtest: Allow user to modify packet size for SDMA write packets
This is primarily used for debug and negative testing for SDMA queue
reset and shouldn't be used for normal run cases.


[ROCm/ROCR-Runtime commit: d047708317]
2025-03-06 14:04:42 -05:00
Jonathan Kim 9e57ce48e8 kfdtest: Add create SDMA queue by target engine
KFD supports SDMA queue creation by target engine.
Enable this for testing.
2025-03-06 14:04:42 -05:00
Jonathan Kim 297e8f729e kfdtest: Add create SDMA queue by target engine
KFD supports SDMA queue creation by target engine.
Enable this for testing.


[ROCm/ROCR-Runtime commit: 9e57ce48e8]
2025-03-06 14:04:42 -05:00
Jonathan Kim a957b24153 kfdtest: Add SDMA poll memory register packet support
The SDMA can wait on poll user memory.  This is being added to
support per-SDMA queue reset testing.
2025-03-06 14:04:42 -05:00
Jonathan Kim 303cdb8f7e kfdtest: Add SDMA poll memory register packet support
The SDMA can wait on poll user memory.  This is being added to
support per-SDMA queue reset testing.


[ROCm/ROCR-Runtime commit: a957b24153]
2025-03-06 14:04:42 -05:00
Jonathan Kim e3d09e30dc hsakmt: Expose per-SDMA queue reset capabilities
Expose new capabilities field that flags per-sdma queue reset
support.
2025-03-06 14:04:42 -05:00
Jonathan Kim 599a20ee2d hsakmt: Expose per-SDMA queue reset capabilities
Expose new capabilities field that flags per-sdma queue reset
support.


[ROCm/ROCR-Runtime commit: e3d09e30dc]
2025-03-06 14:04:42 -05:00
Jacob Lambert 26345a1431 SWDEV-518221 Fix major/minor Comgr version check
Change-Id: I2210aadafcae984dafc68c3fe16508bb2b409077


[ROCm/clr commit: 2e2b6b3592]
2025-03-06 13:02:34 -05:00
Jacob Lambert 2e2b6b3592 SWDEV-518221 Fix major/minor Comgr version check
Change-Id: I2210aadafcae984dafc68c3fe16508bb2b409077
2025-03-06 13:02:34 -05:00
Julia Jiang 66bee403c7 SWDEV - 508961 - Update requestedHandleType in hip-tests repos
Change-Id: I5d8a1ae1d36ecdf2786dbd8a6e83c3692592efb6


[ROCm/hip-tests commit: 6b5a5dde28]
2025-03-06 11:38:14 -05:00
Julia Jiang 6b5a5dde28 SWDEV - 508961 - Update requestedHandleType in hip-tests repos
Change-Id: I5d8a1ae1d36ecdf2786dbd8a6e83c3692592efb6
2025-03-06 11:38:14 -05:00
Julia Jiang 7c813db874 SWDEV - 508961 - Update requestedHanleTye in CLR repos
Change-Id: I6949a36c5b0bb8e88a2a33ed13ae8f278a5b19c7


[ROCm/clr commit: e5425393b4]
2025-03-06 11:37:31 -05:00
Julia Jiang e5425393b4 SWDEV - 508961 - Update requestedHanleTye in CLR repos
Change-Id: I6949a36c5b0bb8e88a2a33ed13ae8f278a5b19c7
2025-03-06 11:37:31 -05:00
Ioannis Assiouras fe7976ea28 SWDEV-518423 - Remove incorrect Unit_hipMemSetAccess_AccessDirectlyFromHost test
The test sets the hipMemCreate and hipMemSetAccess properties
to device but accesses the mapped memory directly from the host.

Change-Id: I2ae51a2658acc01aff39fc371ba97191cc9b3878


[ROCm/hip-tests commit: d33a0fa75a]
2025-03-06 11:31:35 -05:00
Ioannis Assiouras d33a0fa75a SWDEV-518423 - Remove incorrect Unit_hipMemSetAccess_AccessDirectlyFromHost test
The test sets the hipMemCreate and hipMemSetAccess properties
to device but accesses the mapped memory directly from the host.

Change-Id: I2ae51a2658acc01aff39fc371ba97191cc9b3878
2025-03-06 11:31:35 -05:00
Ioannis Assiouras 8bbd742988 SWDEV-516461 - Skip hipmemcpy call to device dst that is freed, for xnack
Change-Id: Icd08675de881e70054e2ba7be17c62d095d33d8c


[ROCm/hip-tests commit: cfb6a08bc0]
2025-03-06 11:26:18 -05:00
Ioannis Assiouras cfb6a08bc0 SWDEV-516461 - Skip hipmemcpy call to device dst that is freed, for xnack
Change-Id: Icd08675de881e70054e2ba7be17c62d095d33d8c
2025-03-06 11:26:18 -05:00
Su, Daniel 302e558998 External CI: change trigger from amd-master to amd-mainline
[ROCm/rocminfo commit: 11823451e6]
2025-03-06 10:29:58 -05:00
Su, Daniel 11823451e6 External CI: change trigger from amd-master to amd-mainline 2025-03-06 10:29:58 -05:00
taosang2 dae18cb473 SWDEV-512613 - Improve device atomics functions
Also part of SWDEV-510994.
1. Fix atomicMin/Max_system() for float and double.
2. Remove logics of gfx941 which isn't supported.

Change-Id: Iacfdc1bc13e8da2f5df8751bb315b37d33cea667


[ROCm/clr commit: d91e1f19d0]
2025-03-06 10:05:59 -05:00
taosang2 d91e1f19d0 SWDEV-512613 - Improve device atomics functions
Also part of SWDEV-510994.
1. Fix atomicMin/Max_system() for float and double.
2. Remove logics of gfx941 which isn't supported.

Change-Id: Iacfdc1bc13e8da2f5df8751bb315b37d33cea667
2025-03-06 10:05:59 -05:00
Ioannis Assiouras 844ba771ec SWDEV-517715 - Remove dependency on non-static hipcc from hip-static-devel
Change-Id: I1184680949fa73d7dc0957062292e6682179b203


[ROCm/clr commit: e963d30b5d]
2025-03-06 10:01:58 -05:00
Ioannis Assiouras e963d30b5d SWDEV-517715 - Remove dependency on non-static hipcc from hip-static-devel
Change-Id: I1184680949fa73d7dc0957062292e6682179b203
2025-03-06 10:01:58 -05:00
Aidan Belton-Schure 3838bda081 SWDEV-489364 - Free memory in hipAPIStreamDisable
Change-Id: I4f740fe803bcc4bbf57865173d92c567de65fdbb


[ROCm/hip-tests commit: 674ed47852]
2025-03-06 04:07:21 -05:00
Aidan Belton-Schure 674ed47852 SWDEV-489364 - Free memory in hipAPIStreamDisable
Change-Id: I4f740fe803bcc4bbf57865173d92c567de65fdbb
2025-03-06 04:07:21 -05:00
Rawat, Swati 27d0bc087c Update CHANGELOG.md: editorial review (#254)
Update CHANGELOG.md

Co-authored-by: srawat <120587655+SwRaw@users.noreply.github.com>
Co-authored-by: Bhardwaj, Gopesh <Gopesh.Bhardwaj@amd.com>

[ROCm/rocprofiler-sdk commit: d74ea0876f]
2025-03-06 12:32:02 +05:30
Rawat, Swati d74ea0876f Update CHANGELOG.md: editorial review (#254)
Update CHANGELOG.md

Co-authored-by: srawat <120587655+SwRaw@users.noreply.github.com>
Co-authored-by: Bhardwaj, Gopesh <Gopesh.Bhardwaj@amd.com>
2025-03-06 12:32:02 +05:30
Su, Daniel 70b44c576c External CI: change trigger from amd-master to amd-mainline
Signed-off-by: Su, Daniel <Daniel.Su@amd.com>
2025-03-05 16:24:29 -05:00
Su, Daniel b213a6aa3f External CI: change trigger from amd-master to amd-mainline
Signed-off-by: Su, Daniel <Daniel.Su@amd.com>

[ROCm/ROCR-Runtime commit: 70b44c576c]
2025-03-05 16:24:29 -05:00
Sohaib Nadeem 95a07edf0b Fix hardware counter summary files not being generated after profiling (#124)
- Register a cleanup function in tim::manager instance to write out data in
counter storages

- The counter_storage::write() calls in tool_fini happen after the storage is destroyed
which is too late for the write to happen.

- Adjust traits for counter_data_tracker

- Add MIN, MAX, VAR, STDDEV columns
- Remove DEPTH, UNITS, %SELF columns

- Update "add_validation_test" to test for the existence of output file(s).
- Added step to test perfetto output for `transpose-rocprofiler-sampling`
and `transpose-rocprofiler-binary-rewrite`

---------

Co-authored-by: David Galiffi <David.Galiffi@amd.com>

[ROCm/rocprofiler-systems commit: 42922ec851]
2025-03-05 16:05:18 -05:00
Sohaib Nadeem 42922ec851 Fix hardware counter summary files not being generated after profiling (#124)
- Register a cleanup function in tim::manager instance to write out data in
counter storages

- The counter_storage::write() calls in tool_fini happen after the storage is destroyed
which is too late for the write to happen.

- Adjust traits for counter_data_tracker

- Add MIN, MAX, VAR, STDDEV columns
- Remove DEPTH, UNITS, %SELF columns

- Update "add_validation_test" to test for the existence of output file(s).
- Added step to test perfetto output for `transpose-rocprofiler-sampling`
and `transpose-rocprofiler-binary-rewrite`

---------

Co-authored-by: David Galiffi <David.Galiffi@amd.com>
2025-03-05 16:05:18 -05:00
Marko Arandjelovic fe2597a64c SWDEV-441296 - Add unit test for hipTexObjectCreate
Change-Id: Ibfc2c910a54ccd1686a3939a1008c472a8465137


[ROCm/hip-tests commit: 7ef404621e]
2025-03-05 12:10:14 -05:00
Marko Arandjelovic 7ef404621e SWDEV-441296 - Add unit test for hipTexObjectCreate
Change-Id: Ibfc2c910a54ccd1686a3939a1008c472a8465137
2025-03-05 12:10:14 -05:00
Madsen, Jonathan 15c8c05f0c [rocprofv3] Fix calculation of services which collected data (#265)
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>

[ROCm/rocprofiler-sdk commit: e7c64e12f9]
2025-03-05 10:59:06 -06:00
Madsen, Jonathan e7c64e12f9 [rocprofv3] Fix calculation of services which collected data (#265)
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
2025-03-05 10:59:06 -06:00
Saleel Kudchadker 5070d4b654 SWDEV-508004 - Improve hipStreamWaitEvent & Fix typo
- hipStreamWaitEvent may not resolve streams
- Correct usage of flag passed to streamWait function

Change-Id: I2ee163615d303b98937c1035d60da283cce6f677


[ROCm/clr commit: 940347ad42]
2025-03-05 11:56:01 -05:00
Saleel Kudchadker 940347ad42 SWDEV-508004 - Improve hipStreamWaitEvent & Fix typo
- hipStreamWaitEvent may not resolve streams
- Correct usage of flag passed to streamWait function

Change-Id: I2ee163615d303b98937c1035d60da283cce6f677
2025-03-05 11:56:01 -05:00
Pengda Xie cd9bcb7e53 SWDEV-518317 - Don't attempt to remove managedVars when map is empty
Change-Id: I25c33487dc08f96c087b6acc1abe42a4a666a609


[ROCm/clr commit: ae3b053ddf]
2025-03-05 11:53:18 -05:00