Commit Graph

64521 Commits

Author SHA1 Message Date
Marko Arandjelovic c46f843b99 SWDEV-504084 - Make hipModuleGetFunction use the device the module is loaded on
If a module is loaded on one device, hipModuleGetFunction and other similar APIs should be able to run successfully from another device.

Change-Id: I96084cbd6c6dcf2a81019779a6ab1842ef2f35d1
2025-01-16 10:16:42 -05:00
Jakaraddi, Manjunath 324c57ede1 SWDEV-500520: Updated documentation for hang issue (#79)
* SWDEV-500520: Updated documentation for hang issue

* Avoid fatal error when invalid metric is found

* removing invalid metrics

* clang formatting

[ROCm/rocprofiler-sdk commit: dfee6489b1]
2025-01-16 02:14:22 -08:00
Jakaraddi, Manjunath dfee6489b1 SWDEV-500520: Updated documentation for hang issue (#79)
* SWDEV-500520: Updated documentation for hang issue

* Avoid fatal error when invalid metric is found

* removing invalid metrics

* clang formatting
2025-01-16 02:14:22 -08:00
Welton, Benjamin ee959cc591 [SWDEV-509659] Skip rocprof device counting tests if lacking permissions (#125)
* [SWDEV-509659] Skip rocprof device counting tests if lacking permissions

Skips non-intercept test if proper permissions are not obtained
(SYS_PERFMON). This should be the only test that fails due to permission
issues (others do not require the IOCTL to pass).

Regex match sample: https://regexr.com/8b29s

* Update source/lib/rocprofiler-sdk/counters/tests/CMakeLists.txt

Co-authored-by: Madsen, Jonathan <Jonathan.Madsen@amd.com>

* fix

* Update source/lib/rocprofiler-sdk/counters/tests/CMakeLists.txt

---------

Co-authored-by: Benjamin Welton <ben@amd.com>
Co-authored-by: Madsen, Jonathan <Jonathan.Madsen@amd.com>

[ROCm/rocprofiler-sdk commit: 536fbba627]
2025-01-16 01:51:06 -06:00
Welton, Benjamin 536fbba627 [SWDEV-509659] Skip rocprof device counting tests if lacking permissions (#125)
* [SWDEV-509659] Skip rocprof device counting tests if lacking permissions

Skips non-intercept test if proper permissions are not obtained
(SYS_PERFMON). This should be the only test that fails due to permission
issues (others do not require the IOCTL to pass).

Regex match sample: https://regexr.com/8b29s

* Update source/lib/rocprofiler-sdk/counters/tests/CMakeLists.txt

Co-authored-by: Madsen, Jonathan <Jonathan.Madsen@amd.com>

* fix

* Update source/lib/rocprofiler-sdk/counters/tests/CMakeLists.txt

---------

Co-authored-by: Benjamin Welton <ben@amd.com>
Co-authored-by: Madsen, Jonathan <Jonathan.Madsen@amd.com>
2025-01-16 01:51:06 -06:00
Welton, Benjamin 9a8b8bf905 Small debug print fix in ioctl.cpp (#120)
* Small debug print fix in ioctl.cpp

Fix debug print statement to print agent id.

* formatting

---------

Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>

[ROCm/rocprofiler-sdk commit: 71dc203b0c]
2025-01-15 18:00:04 -08:00
Welton, Benjamin 71dc203b0c Small debug print fix in ioctl.cpp (#120)
* Small debug print fix in ioctl.cpp

Fix debug print statement to print agent id.

* formatting

---------

Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
2025-01-15 18:00:04 -08:00
Madsen, Jonathan baee324bfc Fix host function logging (#63)
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>

[ROCm/rocprofiler-sdk commit: fae4ad614c]
2025-01-15 19:54:35 -06:00
Madsen, Jonathan fae4ad614c Fix host function logging (#63)
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
2025-01-15 19:54:35 -06:00
Madsen, Jonathan 3250a26c79 Split ABI checks for rocprofiler-sdk-roctx into separate file (#21)
* Split ABI checks for rocprofiler-sdk-roctx into separate file

* Update source/lib/rocprofiler-sdk-roctx/abi.cpp

Co-authored-by: Indic, Vladimir <Vladimir.Indic@amd.com>

* Update source/lib/rocprofiler-sdk-roctx/abi.cpp

Co-authored-by: Indic, Vladimir <Vladimir.Indic@amd.com>

* New line

---------

Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
Co-authored-by: Indic, Vladimir <Vladimir.Indic@amd.com>

[ROCm/rocprofiler-sdk commit: 1b7ab08ded]
2025-01-15 19:32:50 -06:00
Madsen, Jonathan 1b7ab08ded Split ABI checks for rocprofiler-sdk-roctx into separate file (#21)
* Split ABI checks for rocprofiler-sdk-roctx into separate file

* Update source/lib/rocprofiler-sdk-roctx/abi.cpp

Co-authored-by: Indic, Vladimir <Vladimir.Indic@amd.com>

* Update source/lib/rocprofiler-sdk-roctx/abi.cpp

Co-authored-by: Indic, Vladimir <Vladimir.Indic@amd.com>

* New line

---------

Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
Co-authored-by: Indic, Vladimir <Vladimir.Indic@amd.com>
2025-01-15 19:32:50 -06:00
Ioannis Assiouras 67c93c3bad SWDEV-505503 - Use internal device synchronize function in __hipUnregisterFatBinary
This is to avoid calling the HIP_INIT macro during the shutdown process.

Change-Id: I2e65f6e10491918a17445ee1e8ddd08286070358


[ROCm/clr commit: 5e3a29078d]
2025-01-15 18:57:34 -05:00
Ioannis Assiouras 5e3a29078d SWDEV-505503 - Use internal device synchronize function in __hipUnregisterFatBinary
This is to avoid calling the HIP_INIT macro during the shutdown process.

Change-Id: I2e65f6e10491918a17445ee1e8ddd08286070358
2025-01-15 18:57:34 -05:00
Ioannis Assiouras 8f2a9a4f89 SWDEV-506983 - Added check for image support in Unit_hipTexRef[Get/Set]BorderColor_Negative
Change-Id: Ie2aead3b94d97917bdc0a57125e80dcfd1a60f28


[ROCm/hip-tests commit: 78c5e6e502]
2025-01-15 18:57:28 -05:00
Ioannis Assiouras 78c5e6e502 SWDEV-506983 - Added check for image support in Unit_hipTexRef[Get/Set]BorderColor_Negative
Change-Id: Ie2aead3b94d97917bdc0a57125e80dcfd1a60f28
2025-01-15 18:57:28 -05:00
Mallya, Ameya Keshava c687f9baa5 Add KWS Check (#9)
[ROCm/rocm_smi_lib commit: dcdaf7389e]
2025-01-15 12:05:09 -08:00
Mallya, Ameya Keshava dcdaf7389e Add KWS Check (#9) 2025-01-15 12:05:09 -08:00
agunashe 9e724e935d SWDEV-504240 - linux: skip atomicMax tests for all ASICs
Change-Id: Ic7b37f0734f728c2ef21e7acd9f280039fbbe4b2


[ROCm/hip-tests commit: 05b59788c6]
2025-01-15 14:38:13 -05:00
agunashe 05b59788c6 SWDEV-504240 - linux: skip atomicMax tests for all ASICs
Change-Id: Ic7b37f0734f728c2ef21e7acd9f280039fbbe4b2
2025-01-15 14:38:13 -05:00
Mallya, Ameya Keshava 502a8386c6 Added KWS check
[ROCm/rocprofiler-register commit: 3bd980bff8]
2025-01-15 11:15:00 -08:00
Mallya, Ameya Keshava 3bd980bff8 Added KWS check 2025-01-15 11:15:00 -08:00
Mallya, Ameya Keshava 49b96ca627 Create kws-caller.yml
[ROCm/rocm_smi_lib commit: c6ce9a5aa0]
2025-01-15 11:12:25 -08:00
Mallya, Ameya Keshava c6ce9a5aa0 Create kws-caller.yml 2025-01-15 11:12:25 -08:00
Mallya, Ameya Keshava cadbf69b45 Added KWS check (#88) 2025-01-15 11:11:01 -08:00
Mallya, Ameya Keshava 4206250e61 Added KWS check (#88)
[ROCm/rdc commit: cadbf69b45]
2025-01-15 11:11:01 -08:00
Mallya, Ameya Keshava 8641afe3fe Changed branch to mainline
[ROCm/rocprofiler-sdk commit: 720763daac]
2025-01-15 11:08:20 -08:00
Mallya, Ameya Keshava 720763daac Changed branch to mainline 2025-01-15 11:08:20 -08:00
Bhardwaj, Gopesh bae2c449a2 Tool deprecation message for rocprofiler v1,v2 (#2) 2025-01-15 11:29:21 -06:00
Bhardwaj, Gopesh 8d5dee3348 Tool deprecation message for rocprofiler v1,v2 (#2)
[ROCm/rocprofiler commit: bae2c449a2]
2025-01-15 11:29:21 -06:00
Elwazir, Ammar a28fa82529 Merge pull request #2 from AMD-ROCm-Internal/gobhardw/v1-v2-depreaction-message
Tool deprecation message for rocprofiler v1,v2 and roctracer

[ROCm/roctracer commit: 4d93253fa3]
2025-01-15 11:15:07 -06:00
Elwazir, Ammar 4d93253fa3 Merge pull request #2 from AMD-ROCm-Internal/gobhardw/v1-v2-depreaction-message
Tool deprecation message for rocprofiler v1,v2 and roctracer
2025-01-15 11:15:07 -06:00
victzhan 1f7400d7bf SWDEV-477218 - add hipDeviceGetTexture1DLinearMaxWidth API
Change-Id: I0532360ef298cb2353ae0182b17f8024e7bb3dae


[ROCm/hipother commit: 55c17fb4dc]
2025-01-15 10:01:47 -05:00
victzhan 55c17fb4dc SWDEV-477218 - add hipDeviceGetTexture1DLinearMaxWidth API
Change-Id: I0532360ef298cb2353ae0182b17f8024e7bb3dae
2025-01-15 10:01:47 -05:00
gobhardw a21814beff Tool deprecation message for rocprofiler v1,v2 and roctracer
[ROCm/roctracer commit: 0fdaf8aef2]
2025-01-15 11:21:59 +05:30
gobhardw 0fdaf8aef2 Tool deprecation message for rocprofiler v1,v2 and roctracer 2025-01-15 11:21:59 +05:30
Galantsev, Dmitrii bc13dfe3c8 [SWDEV-495169] Update ROCm SMI CLI and Error handling (#3)
Issues include:

Update ROCm SMI displaying None or Not Supported to N/A
Update ROCm SMI displaying err msg to instead log err

Signed-off-by: Juan Castillo juan.castillo@amd.com
Change-Id: I1a2ce6e4f329666b5666664a7d7b4475d6c1cbc7

[ROCm/rocm_smi_lib commit: 55ee3cc442]
2025-01-14 17:15:18 -06:00
Galantsev, Dmitrii 55ee3cc442 [SWDEV-495169] Update ROCm SMI CLI and Error handling (#3)
Issues include:

Update ROCm SMI displaying None or Not Supported to N/A
Update ROCm SMI displaying err msg to instead log err

Signed-off-by: Juan Castillo juan.castillo@amd.com
Change-Id: I1a2ce6e4f329666b5666664a7d7b4475d6c1cbc7
2025-01-14 17:15:18 -06:00
James Xu 84400150b4 [SWDEV-501108] Update Doxygen note on rsmi_dev_pci_id_get
- To address https://github.com/ROCm/rocm_smi_lib/issues/208
where use of fake BDFs for partitions can cause confusion. This note
is already in the comments of the function definition, but was not
updated in the function declaration.
- Fix broken formatting for the location table for PCIE coordinate fields
- Tracked in SWDEV-501108

Change-Id: Ic85439866cb836bb43acc52314a7f1d026c3215d


[ROCm/rocm_smi_lib commit: 67a0de4279]
2025-01-14 15:49:55 -06:00
James Xu 67a0de4279 [SWDEV-501108] Update Doxygen note on rsmi_dev_pci_id_get
- To address https://github.com/ROCm/rocm_smi_lib/issues/208
where use of fake BDFs for partitions can cause confusion. This note
is already in the comments of the function definition, but was not
updated in the function declaration.
- Fix broken formatting for the location table for PCIE coordinate fields
- Tracked in SWDEV-501108

Change-Id: Ic85439866cb836bb43acc52314a7f1d026c3215d
2025-01-14 15:49:55 -06:00
Elwazir, Ammar 0611359850 rocprofv3: fix collection period unit handling (#103)
* Fixing Collection Period

* Fixing default value for collection period unit

* Formatting

---------

Co-authored-by: Ammar ELWazir <aelwazir@amd.com>

[ROCm/rocprofiler-sdk commit: 94474de480]
2025-01-14 11:19:16 -06:00
Elwazir, Ammar 94474de480 rocprofv3: fix collection period unit handling (#103)
* Fixing Collection Period

* Fixing default value for collection period unit

* Formatting

---------

Co-authored-by: Ammar ELWazir <aelwazir@amd.com>
2025-01-14 11:19:16 -06:00
Bhardwaj, Gopesh a4aa2fd14e miscellaneous doc updates (#86)
* miscellaneous doc updates

* updated deprecartion message

* Updated memory allocation tracking documentation

* Update comparing-with-legacy-tools.rst

Co-authored-by: Elwazir, Ammar <Ammar.Elwazir@amd.com>

* Update comparing-with-legacy-tools.rst

Co-authored-by: Elwazir, Ammar <Ammar.Elwazir@amd.com>

* Update comparing-with-legacy-tools.rst

---------

Co-authored-by: Ian Trowbridge <ian.trowbridge@amd.com>
Co-authored-by: Elwazir, Ammar <Ammar.Elwazir@amd.com>

[ROCm/rocprofiler-sdk commit: 81f600e3ba]
2025-01-14 11:17:45 -06:00
Bhardwaj, Gopesh 81f600e3ba miscellaneous doc updates (#86)
* miscellaneous doc updates

* updated deprecartion message

* Updated memory allocation tracking documentation

* Update comparing-with-legacy-tools.rst

Co-authored-by: Elwazir, Ammar <Ammar.Elwazir@amd.com>

* Update comparing-with-legacy-tools.rst

Co-authored-by: Elwazir, Ammar <Ammar.Elwazir@amd.com>

* Update comparing-with-legacy-tools.rst

---------

Co-authored-by: Ian Trowbridge <ian.trowbridge@amd.com>
Co-authored-by: Elwazir, Ammar <Ammar.Elwazir@amd.com>
2025-01-14 11:17:45 -06:00
Anusha GodavarthySurya 6ed3189174 SWDEV-508023 - Disable hipDeviceGetGraphMemAttribute_Positive_DoubleMemory windows psdb failure
Change-Id: I846075d79e87368d2ec463d5c94ddc7dadcf2e9a


[ROCm/hip-tests commit: 1175f9b0b4]
2025-01-14 08:44:51 -05:00
Anusha GodavarthySurya 1175f9b0b4 SWDEV-508023 - Disable hipDeviceGetGraphMemAttribute_Positive_DoubleMemory windows psdb failure
Change-Id: I846075d79e87368d2ec463d5c94ddc7dadcf2e9a
2025-01-14 08:44:51 -05:00
Mallya, Ameya Keshava 1457d95d9f Added necessary variable for commenting
[ROCm/rocprofiler-sdk commit: 70bcd05fd4]
2025-01-13 20:26:23 -08:00
Mallya, Ameya Keshava 70bcd05fd4 Added necessary variable for commenting 2025-01-13 20:26:23 -08:00
Mallya, Ameya Keshava 5ed2e2f54c Potential fix for KWS
[ROCm/rocprofiler-sdk commit: c7bf11e080]
2025-01-13 19:37:58 -08:00
Mallya, Ameya Keshava c7bf11e080 Potential fix for KWS 2025-01-13 19:37:58 -08:00
Mallya, Ameya Keshava 619836b4ea Update rocm-ci-caller.yml 2025-01-13 18:54:35 -08:00