76333 Commits

Author SHA1 Message Date
Lakshmi Kumar ca9451d891 Check ROCm targets (#513)
* rocm version check for targets

* check rocm targets for gfx

[ROCm/rocdecode commit: ad0bec2f14]
2025-02-25 14:52:17 -05:00
Lakshmi Kumar ad0bec2f14 Check ROCm targets (#513)
* rocm version check for targets

* check rocm targets for gfx
2025-02-25 14:52:17 -05:00
Nilesh M Negi c363118589 [BUILD] MSCCLPP: Fix OS check for CentOS (#1568)
Signed-off-by: nileshnegi <Nilesh.Negi@amd.com>
Co-authored-by: corey-derochie-amd <corey.derochie@amd.com>

[ROCm/rccl commit: daaa6e155f]
2025-02-25 13:03:04 -06:00
Nilesh M Negi daaa6e155f [BUILD] MSCCLPP: Fix OS check for CentOS (#1568)
Signed-off-by: nileshnegi <Nilesh.Negi@amd.com>
Co-authored-by: corey-derochie-amd <corey.derochie@amd.com>
2025-02-25 13:03:04 -06:00
Kuricheti, Mythreya c4ccaa4f5c [fix] typo in name rocprofiler_rocjpef_api_id_t -> rocprofiler_rocjpeg_api_id_t (#237)
[fix] rocjpeg fix

[ROCm/rocprofiler-sdk commit: b9eaf88fa3]
2025-02-25 11:23:31 -06:00
Kuricheti, Mythreya b9eaf88fa3 [fix] typo in name rocprofiler_rocjpef_api_id_t -> rocprofiler_rocjpeg_api_id_t (#237)
[fix] rocjpeg fix
2025-02-25 11:23:31 -06:00
taosang2 acefa8b3de SWDEV-1 Disable a test
Disable Performance_hipExtLaunchKernelGGL_QueryGPUFrequency
as it should be a local perf test.

Change-Id: I7e94743d6958ffaadae9cff297e3f2d93f9ff817


[ROCm/hip-tests commit: ff516573f2]
2025-02-25 09:37:38 -05:00
taosang2 ff516573f2 SWDEV-1 Disable a test
Disable Performance_hipExtLaunchKernelGGL_QueryGPUFrequency
as it should be a local perf test.

Change-Id: I7e94743d6958ffaadae9cff297e3f2d93f9ff817
2025-02-25 09:37:38 -05:00
Branislav Brzak d364ca1547 SWDEV-516564 - SWDEV-512817 - Remove mentions of gfx940 and gfx941
Change-Id: Ie9cd254ed31ce9af23c8a3106dd961f276be1c4d


[ROCm/hip commit: 8f12e1dcd9]
2025-02-25 05:35:25 -05:00
Branislav Brzak 8f12e1dcd9 SWDEV-516564 - SWDEV-512817 - Remove mentions of gfx940 and gfx941
Change-Id: Ie9cd254ed31ce9af23c8a3106dd961f276be1c4d
2025-02-25 05:35:25 -05:00
James Zhu f8d8b8011f kfdtest: fix resource leakage
Resource allocated in SetUp/HsaNodeInfo::Init,
needs be delete in TearDown/HsaNodeInfo::Delete.

Signed-off-by: James Zhu <James.Zhu@amd.com>
2025-02-24 19:38:59 -05:00
James Zhu b42578b070 kfdtest: fix resource leakage
Resource allocated in SetUp/HsaNodeInfo::Init,
needs be delete in TearDown/HsaNodeInfo::Delete.

Signed-off-by: James Zhu <James.Zhu@amd.com>


[ROCm/ROCR-Runtime commit: f8d8b8011f]
2025-02-24 19:38:59 -05:00
Avinash Kethineedi 1831a1b33c Update(DeviceProxy): Dynamically Determine Memory Allocation Size & Remove Compile-Time size Calculations (#48)
* Update(DeviceProxy): Dynamically Determine Memory Allocation Size & Remove Compile-Time size Calculations

- Modified the Device proxy class to determine memory allocation size at runtime.
- Updated all classes that include the Device proxy to use dynamic memory allocation.
- Removed compile-time memory size calculations.
- Ensured the allocated number of backend queue data structures matches the number of RO device contexts.

[ROCm/rocshmem commit: eb5a38e806]
2025-02-24 15:11:46 -06:00
Avinash Kethineedi eb5a38e806 Update(DeviceProxy): Dynamically Determine Memory Allocation Size & Remove Compile-Time size Calculations (#48)
* Update(DeviceProxy): Dynamically Determine Memory Allocation Size & Remove Compile-Time size Calculations

- Modified the Device proxy class to determine memory allocation size at runtime.
- Updated all classes that include the Device proxy to use dynamic memory allocation.
- Removed compile-time memory size calculations.
- Ensured the allocated number of backend queue data structures matches the number of RO device contexts.
2025-02-24 15:11:46 -06:00
Narlo, Joseph de4eb249f4 [SWDEV-517156] Synchronize Unified and Amdsmi Headers (#125)
Synching headers
2025-02-24 12:54:05 -06:00
Narlo, Joseph 3d636eb472 [SWDEV-517156] Synchronize Unified and Amdsmi Headers (#125)
Synching headers

[ROCm/amdsmi commit: de4eb249f4]
2025-02-24 12:54:05 -06:00
Yiltan 95c4c0d428 Fix ROCm 6.4 warnings (#47)
* Removed __AMDGCN_WAVEFRONT_SIZE

* Added unit test to validate WF_SIZE

[ROCm/rocshmem commit: 487e5b7d0f]
2025-02-24 13:34:13 -05:00
Yiltan 487e5b7d0f Fix ROCm 6.4 warnings (#47)
* Removed __AMDGCN_WAVEFRONT_SIZE

* Added unit test to validate WF_SIZE
2025-02-24 13:34:13 -05:00
vedithal-amd 4a890ce8d0 Check PATH to verify executable in remaining args (#578)
[ROCm/rocprofiler-compute commit: 649660d54e]
2025-02-24 13:33:55 -05:00
vedithal-amd 649660d54e Check PATH to verify executable in remaining args (#578) 2025-02-24 13:33:55 -05:00
Narlo, Joseph af31967b6d Merge branch 'amd-staging' into SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers 2025-02-24 10:14:49 -06:00
Narlo, Joseph 857e615ff5 Merge branch 'amd-staging' into SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers
[ROCm/amdsmi commit: af31967b6d]
2025-02-24 10:14:49 -06:00
Joseph Narlo cff8582ad5 Merge branch 'SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers' of github.com:AMD-ROCm-Internal/amdsmi into SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers 2025-02-24 09:21:33 -06:00
Joseph Narlo 5bfe26f549 Merge branch 'SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers' of github.com:AMD-ROCm-Internal/amdsmi into SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers
[ROCm/amdsmi commit: cff8582ad5]
2025-02-24 09:21:33 -06:00
Joseph Narlo ddcdd60964 Merge branch 'SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers' of github.com:AMD-ROCm-Internal/amdsmi into SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers 2025-02-24 09:21:22 -06:00
Joseph Narlo ffd89e275c Merge branch 'SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers' of github.com:AMD-ROCm-Internal/amdsmi into SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers
[ROCm/amdsmi commit: ddcdd60964]
2025-02-24 09:21:22 -06:00
Rambabu Swargam 9ebb385ada SWDEV-517063 - [catch2][dtest] Disable failing hipGraphInstantiateWithFlags tests
Change-Id: I8b999c7b6de66dccde5bc00dd7a2a87d2c562a96


[ROCm/hip-tests commit: c54034fe59]
2025-02-24 09:35:19 -05:00
Rambabu Swargam c54034fe59 SWDEV-517063 - [catch2][dtest] Disable failing hipGraphInstantiateWithFlags tests
Change-Id: I8b999c7b6de66dccde5bc00dd7a2a87d2c562a96
2025-02-24 09:35:19 -05:00
Indic, Vladimir 08e81f5972 PCS vs CC test: initializing buffer_id to zero (#229)
[ROCm/rocprofiler-sdk commit: f7b5759a20]
2025-02-24 04:41:07 -08:00
Indic, Vladimir f7b5759a20 PCS vs CC test: initializing buffer_id to zero (#229) 2025-02-24 04:41:07 -08:00
xuchen-amd 69f0312b7b Improve kokkos trace handling. (#573)
* Improve kokkos trace is handling.

* Fix formatting.

* Syntax fix and adding comments.

[ROCm/rocprofiler-compute commit: 10e1d57bfb]
2025-02-22 14:07:14 -05:00
xuchen-amd 10e1d57bfb Improve kokkos trace handling. (#573)
* Improve kokkos trace is handling.

* Fix formatting.

* Syntax fix and adding comments.
2025-02-22 14:07:14 -05:00
Rahul Manocha 75d53e5c22 SWDEV-489106 - Linker API addition to runtime
1) Add Linker APIs to runtime to support SPIRV linking
2) Migrate Internal implementations to runtime and share with rtc
3) Add Support to bundled and unbundled SPIRV Code object linking.

Change-Id: Ic1fd4431f842a208a2468e8aec54a65b5fa6b0e3


[ROCm/clr commit: 5930f047bb]
2025-02-22 13:39:23 -05:00
Rahul Manocha 5930f047bb SWDEV-489106 - Linker API addition to runtime
1) Add Linker APIs to runtime to support SPIRV linking
2) Migrate Internal implementations to runtime and share with rtc
3) Add Support to bundled and unbundled SPIRV Code object linking.

Change-Id: Ic1fd4431f842a208a2468e8aec54a65b5fa6b0e3
2025-02-22 13:39:23 -05:00
Li, Todd tiantuo 04dc7ca51f SWDEV-508980 - [6.4 Preview] fix hipDeviceSetCacheConfig during stream capture
Change-Id: I8e89774a8163fdc120155f742606ee2c0aa7103b


[ROCm/clr commit: 9faaf20aae]
2025-02-22 01:05:28 -05:00
Li, Todd tiantuo 9faaf20aae SWDEV-508980 - [6.4 Preview] fix hipDeviceSetCacheConfig during stream capture
Change-Id: I8e89774a8163fdc120155f742606ee2c0aa7103b
2025-02-22 01:05:28 -05:00
Li, Todd tiantuo 82f78ce187 SWDEV-510271 - [6.4 Preview] fix hipCreateSurfaceObject & hipDestroySurfaceObject during stream capture
Change-Id: I19e149549c271d847f52b72e04cb2427ca194b24


[ROCm/clr commit: c07468e53c]
2025-02-22 01:04:35 -05:00
Li, Todd tiantuo c07468e53c SWDEV-510271 - [6.4 Preview] fix hipCreateSurfaceObject & hipDestroySurfaceObject during stream capture
Change-Id: I19e149549c271d847f52b72e04cb2427ca194b24
2025-02-22 01:04:35 -05:00
Khatri, Shweta 322a794cf6 rocr: Adding support for Stochastic PC Sampling for gfx94x (#47)
Change-Id: Ide4c2e25b88f1f25ea4ce35a619b93963c0355ee
2025-02-22 00:13:08 -05:00
Khatri, Shweta e00c926d27 rocr: Adding support for Stochastic PC Sampling for gfx94x (#47)
Change-Id: Ide4c2e25b88f1f25ea4ce35a619b93963c0355ee

[ROCm/ROCR-Runtime commit: 322a794cf6]
2025-02-22 00:13:08 -05:00
Nusrat Islam 3fbafef948 ext-src: tuning for allreduce8 kernel (#1560)
This PR tunes the number of threadblocks used for larger (>1MB)
message sizes.

[ROCm/rccl commit: fdf75fd2c1]
2025-02-21 19:34:38 -06:00
Nusrat Islam fdf75fd2c1 ext-src: tuning for allreduce8 kernel (#1560)
This PR tunes the number of threadblocks used for larger (>1MB)
message sizes.
2025-02-21 19:34:38 -06:00
Arif, Maisam 9d2bbcf14d Updated amdsmi_get_driver_info() to handle empty strings (#126)
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
2025-02-21 19:15:18 -06:00
Arif, Maisam 5e4f1bb245 Updated amdsmi_get_driver_info() to handle empty strings (#126)
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>

[ROCm/amdsmi commit: 9d2bbcf14d]
2025-02-21 19:15:18 -06:00
Trowbridge, Ian 74efdad1aa rocJPEG API Tracing (#73)
* rocDecode API Tracing support

* Test bin file added to rocdecode. Need to add validate python methods

* Added option to not make rocDecode tests

* Added rocdecode and rocprofv3 tests

* Added csv test

* Address PR comments. Changed tests to use built-in rocstreambit decoder to remove ffmpeg dependancy. Changed cmake option to disbale tests rather than not build them. Tests work locally, but will fail until rocDecode is built with tracing enabled on CI

* Add option to avoid building rocdecode tests

* Added option to avoid building rocdecode bin file

* Support for rocJPEG API Trace

* Added newline to rocjpeg_version.h

* json-tool code added, initial test/bin commit

* Formatting

* Resolved rocjpeg bin test compilation errors

* Tests implemented. Perfetto module currently resulting in errors, so need to retest whenever it is fixed

* Formatting and compilation errors

* Minor fixes

* Copyright year update and minor fixes

* Doc update fix

* Added rocjpeg csv file in data

* Addresses review comments: Updated fixed Findroc.. and uses root directory as a hint, fixed documentation error, changed tables to use _CORE, minor style fixes

* Added rocdecode and rocjpeg to CI

* Removed rocdecode and rocjpeg from CI and added back build tests option

* Updated Cmake Files

* Added rocDecode and rocJPEG to CI

* Remove cmake line added in error

* Temporarily modified tests to pass if rocdecode or rocjpeg tracing are not supported for CI, cmake changes

* Added find_package for test

* Added back use of system rocDecode and rocJPEG, modifies system files to include prefix path

* Updated no-link to include INCLUDE_DIR/roc(decode|jpeg), added comments for tests

* Resolve merge conflicts and formatting

* Added regex find and replace instead of include for CI

* VAAPI package causing errors on Vega20

* Removed system rocjpeg and rocdecode use temporarily until cmake issues resolved

* Removed workflows regex

* Formatting and minor test modification

* Modified test for vega20

* Update rocDecode and rocJPEG cmake and tests

* Changelog

* Fix merge conflict

* Added back if-statements around add-tests since cmake-generator-expressions are resulting in errors when the packages are missing

* Removed if found statements, replaced with TARGET:EXISTS

* Skip json file for rocjpeg and rocdecode tests if not supported

* Add os import

---------

Co-authored-by: Kandula, Venkateshwar reddy <Venkateshwarreddy.Kandula@amd.com>
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>

[ROCm/rocprofiler-sdk commit: 31fe8858d1]
2025-02-21 13:43:49 -08:00
Trowbridge, Ian 31fe8858d1 rocJPEG API Tracing (#73)
* rocDecode API Tracing support

* Test bin file added to rocdecode. Need to add validate python methods

* Added option to not make rocDecode tests

* Added rocdecode and rocprofv3 tests

* Added csv test

* Address PR comments. Changed tests to use built-in rocstreambit decoder to remove ffmpeg dependancy. Changed cmake option to disbale tests rather than not build them. Tests work locally, but will fail until rocDecode is built with tracing enabled on CI

* Add option to avoid building rocdecode tests

* Added option to avoid building rocdecode bin file

* Support for rocJPEG API Trace

* Added newline to rocjpeg_version.h

* json-tool code added, initial test/bin commit

* Formatting

* Resolved rocjpeg bin test compilation errors

* Tests implemented. Perfetto module currently resulting in errors, so need to retest whenever it is fixed

* Formatting and compilation errors

* Minor fixes

* Copyright year update and minor fixes

* Doc update fix

* Added rocjpeg csv file in data

* Addresses review comments: Updated fixed Findroc.. and uses root directory as a hint, fixed documentation error, changed tables to use _CORE, minor style fixes

* Added rocdecode and rocjpeg to CI

* Removed rocdecode and rocjpeg from CI and added back build tests option

* Updated Cmake Files

* Added rocDecode and rocJPEG to CI

* Remove cmake line added in error

* Temporarily modified tests to pass if rocdecode or rocjpeg tracing are not supported for CI, cmake changes

* Added find_package for test

* Added back use of system rocDecode and rocJPEG, modifies system files to include prefix path

* Updated no-link to include INCLUDE_DIR/roc(decode|jpeg), added comments for tests

* Resolve merge conflicts and formatting

* Added regex find and replace instead of include for CI

* VAAPI package causing errors on Vega20

* Removed system rocjpeg and rocdecode use temporarily until cmake issues resolved

* Removed workflows regex

* Formatting and minor test modification

* Modified test for vega20

* Update rocDecode and rocJPEG cmake and tests

* Changelog

* Fix merge conflict

* Added back if-statements around add-tests since cmake-generator-expressions are resulting in errors when the packages are missing

* Removed if found statements, replaced with TARGET:EXISTS

* Skip json file for rocjpeg and rocdecode tests if not supported

* Add os import

---------

Co-authored-by: Kandula, Venkateshwar reddy <Venkateshwarreddy.Kandula@amd.com>
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
2025-02-21 13:43:49 -08:00
Narlo, Joseph da6a322603 Merge branch 'amd-staging' into SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers 2025-02-21 15:40:08 -06:00
Narlo, Joseph 52850e0556 Merge branch 'amd-staging' into SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers
[ROCm/amdsmi commit: da6a322603]
2025-02-21 15:40:08 -06:00
Pryor, Adam 75211a6389 [SWDEV-500382] Add check to pcie throughput for uint64 max (#120)
Signed-off-by: Adam Pryor <Adam.pryor@amd.com>
2025-02-21 15:17:19 -06:00
Pryor, Adam ccb51bf977 [SWDEV-500382] Add check to pcie throughput for uint64 max (#120)
Signed-off-by: Adam Pryor <Adam.pryor@amd.com>

[ROCm/amdsmi commit: 75211a6389]
2025-02-21 15:17:19 -06:00