Commit Graph

64521 Commits

Author SHA1 Message Date
Bhardwaj, Gopesh b48fa532bc Making ROCTx API doxygen generated document more readable (#385)
* Making ROCTx API doxygen generated document more readable

* fixing build

* Fix linking errors

* Fixing header

* Fixing Topics and Types

* doxygen configuration fixes

* Fixing build

* Fix unnecessory doc parsing warnings

* formatting and linting fixes

* rebasing SDK modular PR

* Fixing missing line

* Fixing ROCtx documentation after merge

* Removing flake changes

* changed back WARN_IF_DOC_ERROR to Yes
2025-05-22 18:08:55 -05:00
David Yat Sin da2607024b rocr: Perform memcpy for small code-object loads
On large BAR systems, for small-sized code-objects, we get performance
using direct memcpy due to latencies when doing the blit-copy.
2025-05-22 18:39:19 -04:00
David Yat Sin 342e478e7d rocr: Perform memcpy for small code-object loads
On large BAR systems, for small-sized code-objects, we get performance
using direct memcpy due to latencies when doing the blit-copy.


[ROCm/ROCR-Runtime commit: da2607024b]
2025-05-22 18:39:19 -04:00
David Yat Sin e969e01f54 rocr: Perform range based cache invalidates
Invalidate only the address range that covers the newly copied
code-object. This avoids invalidating I$ for old code objects and thus
might increase I$ hit rate.
2025-05-22 18:39:19 -04:00
David Yat Sin 9c5bb61708 rocr: Perform range based cache invalidates
Invalidate only the address range that covers the newly copied
code-object. This avoids invalidating I$ for old code objects and thus
might increase I$ hit rate.


[ROCm/ROCR-Runtime commit: e969e01f54]
2025-05-22 18:39:19 -04:00
Vaddireddy, Sushma 4d29b74750 Unit test fix - calculate aggregate sum based on instance size (#410)
* Unit test fix- calculate aggregate sum based on instance size

* Update GRBM instance size

* aggregate sum

---------

Co-authored-by: Sushma Vaddireddy <svaddire@amd.com>

[ROCm/rocprofiler-sdk commit: 7045a4c689]
2025-05-22 13:35:38 -07:00
Vaddireddy, Sushma 7045a4c689 Unit test fix - calculate aggregate sum based on instance size (#410)
* Unit test fix- calculate aggregate sum based on instance size

* Update GRBM instance size

* aggregate sum

---------

Co-authored-by: Sushma Vaddireddy <svaddire@amd.com>
2025-05-22 13:35:38 -07:00
Baraldi, Giovanni cfea25a13a ATT Doc updates. Fix trace-decode return error. (#406)
* Doc updates. Some cleanup.

* Formatting

---------

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

[ROCm/rocprofiler-sdk commit: 3cb0c87f53]
2025-05-22 14:50:45 -05:00
Baraldi, Giovanni 3cb0c87f53 ATT Doc updates. Fix trace-decode return error. (#406)
* Doc updates. Some cleanup.

* Formatting

---------

Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com>
2025-05-22 14:50:45 -05:00
anujshuk-amd ef90bab236 Update transpose-rocprofiler-* tests (#210)
- Updating counters collected and tested for on Navi-based machines
- Update add CMake function to query GPU architectures
- Update decode tests to use new functions

[ROCm/rocprofiler-systems commit: 4c24975626]
2025-05-22 14:04:33 -04:00
anujshuk-amd 4c24975626 Update transpose-rocprofiler-* tests (#210)
- Updating counters collected and tested for on Navi-based machines
- Update add CMake function to query GPU architectures
- Update decode tests to use new functions
2025-05-22 14:04:33 -04:00
Belton-Schure, Aidan 983a5925c6 SWDEV-508966 - hipGetTextureAlignmentOffset return hipErrorInvalidTexture (#389)
[ROCm/clr commit: 7aae33951b]
2025-05-22 23:19:45 +05:30
Belton-Schure, Aidan 7aae33951b SWDEV-508966 - hipGetTextureAlignmentOffset return hipErrorInvalidTexture (#389) 2025-05-22 23:19:45 +05:30
Belton-Schure, Aidan 5d4ae6346e SWDEV-508977 - return error in global capture mode for hipEventQuery (#388)
[ROCm/clr commit: 51dd60a64f]
2025-05-22 23:17:57 +05:30
Belton-Schure, Aidan 51dd60a64f SWDEV-508977 - return error in global capture mode for hipEventQuery (#388) 2025-05-22 23:17:57 +05:30
Ramakrishnan, Ranjith 1785cff6a5 CMake: Remove file reorganization backward compatibility code (#176)
The feature has already been disabled, and the related source code is no longer required
2025-05-22 09:47:26 -07:00
Ramakrishnan, Ranjith 85cd72987f CMake: Remove file reorganization backward compatibility code (#176)
The feature has already been disabled, and the related source code is no longer required

[ROCm/ROCR-Runtime commit: 1785cff6a5]
2025-05-22 09:47:26 -07:00
Roy, Rakesh 0bd2233a69 SWDEV-533670 - Bump major version for ROCm 7.0 (#87)
[ROCm/hip commit: c3050b93c6]
2025-05-22 20:55:59 +05:30
Roy, Rakesh c3050b93c6 SWDEV-533670 - Bump major version for ROCm 7.0 (#87) 2025-05-22 20:55:59 +05:30
Stojiljkovic, Vladana 1a36230bf2 Match hipStreamAddCallback capture behavior with nvidia (#386)
Co-authored-by: Anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com>

[ROCm/clr commit: a0e946c2cc]
2025-05-22 20:54:04 +05:30
Stojiljkovic, Vladana a0e946c2cc Match hipStreamAddCallback capture behavior with nvidia (#386)
Co-authored-by: Anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com>
2025-05-22 20:54:04 +05:30
Stojiljkovic, Vladana 9af11abb42 Match hipLaunchCooperativeKernelMultiDevice behavior with nvidia (#385)
Co-authored-by: Anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com>

[ROCm/clr commit: 63c4020e49]
2025-05-22 20:52:37 +05:30
Stojiljkovic, Vladana 63c4020e49 Match hipLaunchCooperativeKernelMultiDevice behavior with nvidia (#385)
Co-authored-by: Anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com>
2025-05-22 20:52:37 +05:30
Stojiljkovic, Vladana 25084759b8 Allow hipMemAdvise capturing only in relaxed mode (#384)
Co-authored-by: Anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com>

[ROCm/clr commit: 2ddfe40de0]
2025-05-22 20:52:00 +05:30
Stojiljkovic, Vladana 2ddfe40de0 Allow hipMemAdvise capturing only in relaxed mode (#384)
Co-authored-by: Anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com>
2025-05-22 20:52:00 +05:30
Stojiljkovic, Vladana 3f415c28e0 Allow hipMallocManaged capturing only in relaxed mode (#383)
Co-authored-by: Anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com>

[ROCm/clr commit: 69112331ac]
2025-05-22 20:51:30 +05:30
Stojiljkovic, Vladana 69112331ac Allow hipMallocManaged capturing only in relaxed mode (#383)
Co-authored-by: Anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com>
2025-05-22 20:51:30 +05:30
Arandjelovic, Marko a59ada9e03 Remove ifdef guards in VMM tests (#196)
[ROCm/hip-tests commit: 74e743dcb9]
2025-05-22 20:49:57 +05:30
Arandjelovic, Marko 74e743dcb9 Remove ifdef guards in VMM tests (#196) 2025-05-22 20:49:57 +05:30
Arandjelovic, Marko b520edc6a4 Match cuda behaviour for VMM APIs (#382)
[ROCm/clr commit: 9ef5602453]
2025-05-22 20:49:08 +05:30
Arandjelovic, Marko 9ef5602453 Match cuda behaviour for VMM APIs (#382) 2025-05-22 20:49:08 +05:30
Philip Yang bd86fb1e63 kfdtest: Add KFDQMTest UserQueueBufValidation
Create CP queue and SDMA queue should fail with invalid queue ring
buffer or ring buffer size.

Test unmap or free queue buffers should fail before queue is destroyed.

Use child process to test unmap CWSR buffer will evict queue.

Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Change-Id: I5dcd51d6b43445d19a986f8b0b82063e20348a5f
2025-05-22 10:06:42 -04:00
Philip Yang 4ac71d1f5d kfdtest: Add KFDQMTest UserQueueBufValidation
Create CP queue and SDMA queue should fail with invalid queue ring
buffer or ring buffer size.

Test unmap or free queue buffers should fail before queue is destroyed.

Use child process to test unmap CWSR buffer will evict queue.

Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Change-Id: I5dcd51d6b43445d19a986f8b0b82063e20348a5f


[ROCm/ROCR-Runtime commit: bd86fb1e63]
2025-05-22 10:06:42 -04:00
Philip Yang 3e6f51b715 libhsakmt: unmap from GPU error handling
If unmap from GPU return failed, for example, unmap user queue buffer
while queue is active, we should not free obj->mapped_node_id_array,
otherwise, the following unmap user queue buffer after queue is
destroyed still return failed.

Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Change-Id: I32aeb18871c2e971d01900d92916c54680f5c9fa
2025-05-22 10:06:42 -04:00
Philip Yang 50886316e9 libhsakmt: unmap from GPU error handling
If unmap from GPU return failed, for example, unmap user queue buffer
while queue is active, we should not free obj->mapped_node_id_array,
otherwise, the following unmap user queue buffer after queue is
destroyed still return failed.

Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Change-Id: I32aeb18871c2e971d01900d92916c54680f5c9fa


[ROCm/ROCR-Runtime commit: 3e6f51b715]
2025-05-22 10:06:42 -04:00
Kandula, Venkateshwar reddy 10d0ae9638 [CLR ABI] step runtime api version hip memset node params (#373)
* increase hip api table version for HIP_MEMSET_NODE_PARAMS removed.

* update version in static_assert.

---------

Co-authored-by: Venkateshwar Reddy Kandula <vkandula@amd.com>

[ROCm/clr commit: ad44dd527f]
2025-05-22 15:09:31 +05:30
Kandula, Venkateshwar reddy ad44dd527f [CLR ABI] step runtime api version hip memset node params (#373)
* increase hip api table version for HIP_MEMSET_NODE_PARAMS removed.

* update version in static_assert.

---------

Co-authored-by: Venkateshwar Reddy Kandula <vkandula@amd.com>
2025-05-22 15:09:31 +05:30
Gupta, Maneesh f2f3c29460 Create pull_request_template.md (#12)
Initial draft of PR template

[ROCm/hipother commit: 0e51a3b5c1]
2025-05-22 15:09:21 +05:30
Gupta, Maneesh 0e51a3b5c1 Create pull_request_template.md (#12)
Initial draft of PR template
2025-05-22 15:09:21 +05:30
Gupta, Maneesh e907f41dc2 Create pull_request_template.md (#197)
Initial draft of PR template

[ROCm/hip-tests commit: 91de6c98c3]
2025-05-22 15:08:58 +05:30
Gupta, Maneesh 91de6c98c3 Create pull_request_template.md (#197)
Initial draft of PR template
2025-05-22 15:08:58 +05:30
Gupta, Maneesh e24c89e449 Create pull_request_template.md (#94)
Initial draft of PR template

[ROCm/hip commit: c686b8bb9c]
2025-05-22 15:08:40 +05:30
Gupta, Maneesh c686b8bb9c Create pull_request_template.md (#94)
Initial draft of PR template
2025-05-22 15:08:40 +05:30
Dittakavi, Satyanvesh b6af8596ba SWDEV-530921 - Update warp sync test to not use warpSize at compile time (#184)
[ROCm/hip-tests commit: 0c095130e6]
2025-05-22 14:26:39 +05:30
Dittakavi, Satyanvesh 0c095130e6 SWDEV-530921 - Update warp sync test to not use warpSize at compile time (#184) 2025-05-22 14:26:39 +05:30
Dittakavi, Satyanvesh e0a9266e50 SWDEV-433031 - Match the signature of HIPRTC APIs with NVRTC (#378)
Change-Id: I5eb175b15a65a9f1c2db3ae30da6803179520dbe

[ROCm/clr commit: e5f7519e64]
2025-05-22 13:30:33 +05:30
Dittakavi, Satyanvesh e5f7519e64 SWDEV-433031 - Match the signature of HIPRTC APIs with NVRTC (#378)
Change-Id: I5eb175b15a65a9f1c2db3ae30da6803179520dbe
2025-05-22 13:30:33 +05:30
Dittakavi, Satyanvesh a9d8bf303a SWDEV-433031 - Match the signature of HIPRTC APIs with NVRTC (#93)
Change-Id: If91f5a240ae119d0bc5a21c2d162f0c37df32606

[ROCm/hip commit: 301ebd5936]
2025-05-22 13:30:24 +05:30
Dittakavi, Satyanvesh 301ebd5936 SWDEV-433031 - Match the signature of HIPRTC APIs with NVRTC (#93)
Change-Id: If91f5a240ae119d0bc5a21c2d162f0c37df32606
2025-05-22 13:30:24 +05:30
Dittakavi, Satyanvesh 26a927621b SWDEV-513341 - Remove datatypes from HIPRTC (#377)
Defining int64_t, uint64_t, int32_t, uint32_t in HIPRTC
seem to result in conflicts with some apps as they use
their own definitions for these types. NVRTC also doesn't
define these. Hence remove them and replace their usage
with hip internal datatypes such as __hip_int64_t

Change-Id: Id314730bbd61c05f126f915c546052f956550a3f

[ROCm/clr commit: 946ea72c94]
2025-05-22 13:28:31 +05:30