Commit Graph

64650 Commits

Author SHA1 Message Date
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
Dittakavi, Satyanvesh 946ea72c94 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
2025-05-22 13:28:31 +05:30
Dittakavi, Satyanvesh 4f6024c376 SWDEV-482125 - HIPRTC implementation of standard headers moved from std to __hip_internal namespace (#376)
Change-Id: Ia359ed45e0916ad397401113a69a6b26a590d807

[ROCm/clr commit: b27e2abc41]
2025-05-22 13:27:19 +05:30
Dittakavi, Satyanvesh b27e2abc41 SWDEV-482125 - HIPRTC implementation of standard headers moved from std to __hip_internal namespace (#376)
Change-Id: Ia359ed45e0916ad397401113a69a6b26a590d807
2025-05-22 13:27:19 +05:30
Gupta, Maneesh b1b9972918 Create pull_request_template.md (#362)
Initial draft of PR template

[ROCm/clr commit: 524c9537c3]
2025-05-22 13:25:16 +05:30
Gupta, Maneesh 524c9537c3 Create pull_request_template.md (#362)
Initial draft of PR template
2025-05-22 13:25:16 +05:30
Dittakavi, Satyanvesh 36539a2ca1 SWDEV-512756 - SWDEV-510954 - Add appropriate checks during active stream capture (#375)
- hipStreamAddCallback is not permitted during stream capture for all modes
- hipModuleUnload is permitted only for relaxed mode during stream capture

Change-Id: I79ca5d2f6b61bd2e169fee7c13da4cd46e472a10

[ROCm/clr commit: 2c173c6da4]
2025-05-22 13:24:49 +05:30
Dittakavi, Satyanvesh 2c173c6da4 SWDEV-512756 - SWDEV-510954 - Add appropriate checks during active stream capture (#375)
- hipStreamAddCallback is not permitted during stream capture for all modes
- hipModuleUnload is permitted only for relaxed mode during stream capture

Change-Id: I79ca5d2f6b61bd2e169fee7c13da4cd46e472a10
2025-05-22 13:24:49 +05:30
Assiouras, Ioannis fdfe1eaf68 SWDEV-508965 - Remove references to HIP_MEMSET_NODE_PARAMS struct (#195)
[ROCm/hip-tests commit: d1e6f076e2]
2025-05-22 13:08:36 +05:30
Assiouras, Ioannis d1e6f076e2 SWDEV-508965 - Remove references to HIP_MEMSET_NODE_PARAMS struct (#195) 2025-05-22 13:08:36 +05:30
Galantsev, Dmitrii 7b06b778b9 RDCI - Fix misaligned fields
Change-Id: I7914c01b82e7e2fb5c63521d6d4803570447790c
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-05-21 19:11:17 -05:00
Galantsev, Dmitrii ff8704cf76 RDCI - Fix misaligned fields
Change-Id: I7914c01b82e7e2fb5c63521d6d4803570447790c
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/rdc commit: 7b06b778b9]
2025-05-21 19:11:17 -05:00
Galantsev, Dmitrii eff955fdf7 Profiler - Align SMI and Profiler indices
Change-Id: If2bb850ffd1c1b8b16a8f5963a0f6971f82d4863
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-05-21 19:11:17 -05:00
Galantsev, Dmitrii 0d352c515e Profiler - Align SMI and Profiler indices
Change-Id: If2bb850ffd1c1b8b16a8f5963a0f6971f82d4863
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/rdc commit: eff955fdf7]
2025-05-21 19:11:17 -05:00
Elwazir, Ammar de6c6af917 HSA API Addition in EXT Table (#407)
* HSA API Addition in EXT Table

* Adding the real new API trace capability

* Formatting fix

[ROCm/rocprofiler-sdk commit: e587a8b23a]
2025-05-21 18:39:31 -05:00
Elwazir, Ammar e587a8b23a HSA API Addition in EXT Table (#407)
* HSA API Addition in EXT Table

* Adding the real new API trace capability

* Formatting fix
2025-05-21 18:39:31 -05:00
Apurv Mishra f853dda9ba kfdtest: Disable tests that cause unwanted behavior
disable KFDLocalMemoryTest.Fragmentation and
KFDEventTest.MeasureInterruptConsumption as
part of the  KFD test suite improvement feature

Signed-off-by: Apurv Mishra <Apurv.Mishra@amd.com>
2025-05-21 16:29:15 -04:00
Apurv Mishra 5c42a9f1bf kfdtest: Disable tests that cause unwanted behavior
disable KFDLocalMemoryTest.Fragmentation and
KFDEventTest.MeasureInterruptConsumption as
part of the  KFD test suite improvement feature

Signed-off-by: Apurv Mishra <Apurv.Mishra@amd.com>


[ROCm/ROCR-Runtime commit: f853dda9ba]
2025-05-21 16:29:15 -04:00
Ben Vanik d54124383f kfdtest: Fix SVM profiler QUEUE_RESTORE parsing 2025-05-21 13:17:25 -04:00
Ben Vanik ba02a7b1ca kfdtest: Fix SVM profiler QUEUE_RESTORE parsing
[ROCm/ROCR-Runtime commit: d54124383f]
2025-05-21 13:17:25 -04:00
Ben Vanik 1a32392912 rocr: Fix SVM profiler QUEUE_RESTORE parsing 2025-05-21 13:17:25 -04:00
Ben Vanik 62cd7e1f54 rocr: Fix SVM profiler QUEUE_RESTORE parsing
[ROCm/ROCR-Runtime commit: 1a32392912]
2025-05-21 13:17:25 -04:00