76333 Commit

Autore SHA1 Messaggio Data
Kian Cossettini 531cf61f36 Added docker usage steps for rocprofiler systems (#251)
---------

Co-authored-by: David Galiffi <David.Galiffi@amd.com>
Co-authored-by: Pratik Basyal <pratik.basyal@amd.com>

[ROCm/rocprofiler-systems commit: 8457cb11be]
2025-06-23 15:19:47 -04:00
Kian Cossettini 8457cb11be Added docker usage steps for rocprofiler systems (#251)
---------

Co-authored-by: David Galiffi <David.Galiffi@amd.com>
Co-authored-by: Pratik Basyal <pratik.basyal@amd.com>
2025-06-23 15:19:47 -04:00
Elwazir, Ammar 14c997d5b4 Posting fixes for tests link library (#125)
Co-authored-by: Ammar ELWazir <aelwazir@amd.com>

[ROCm/aqlprofile commit: af750616db]
2025-06-23 12:30:29 -05:00
Elwazir, Ammar af750616db Posting fixes for tests link library (#125)
Co-authored-by: Ammar ELWazir <aelwazir@amd.com>
2025-06-23 12:30:29 -05:00
Baraldi, Giovanni bf067cd442 Remove default dependency of rocm-llvm-dev (#124)
* Remove default dependency of rocm-llvm-dev

* Update build.sh

* Update build.sh

* Update CMakeLists.txt

* Fixing core tests

---------

Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com>
Co-authored-by: Elwazir, Ammar <Ammar.Elwazir@amd.com>
Co-authored-by: Ammar ELWazir <aelwazir@amd.com>

[ROCm/aqlprofile commit: f3b2d498b8]
2025-06-23 12:13:27 -05:00
Baraldi, Giovanni f3b2d498b8 Remove default dependency of rocm-llvm-dev (#124)
* Remove default dependency of rocm-llvm-dev

* Update build.sh

* Update build.sh

* Update CMakeLists.txt

* Fixing core tests

---------

Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com>
Co-authored-by: Elwazir, Ammar <Ammar.Elwazir@amd.com>
Co-authored-by: Ammar ELWazir <aelwazir@amd.com>
2025-06-23 12:13:27 -05:00
corey-derochie-amd 37ab47fab4 Updated CHANGELOG for LL128 support for gfx942 in 7.0 (#1719)
* Updated CHANGELOG for LL128 support for gfx942 in 7.0

Also ported 6.4.2 section

* Removed unnecessary note from 7.0

[ROCm/rccl commit: e73db11819]
2025-06-23 08:50:12 -06:00
corey-derochie-amd e73db11819 Updated CHANGELOG for LL128 support for gfx942 in 7.0 (#1719)
* Updated CHANGELOG for LL128 support for gfx942 in 7.0

Also ported 6.4.2 section

* Removed unnecessary note from 7.0
2025-06-23 08:50:12 -06:00
Chaudhary, Jatin Jaikishan 6ca3502d42 SWDEV-470698 - remove duplicate tests (#316)
Change-Id: Icedf0bd442f9a983fc590b7fde1a0e888472b65a

[ROCm/hip-tests commit: 409b47fec6]
2025-06-23 19:52:44 +05:30
Chaudhary, Jatin Jaikishan 409b47fec6 SWDEV-470698 - remove duplicate tests (#316)
Change-Id: Icedf0bd442f9a983fc590b7fde1a0e888472b65a
2025-06-23 19:52:44 +05:30
Sang, Tao e113c4da2c SWDEV-533964 - Let comgr compile SPIRV to exec directly (#494)
[ROCm/clr commit: 7755660eeb]
2025-06-23 09:59:53 -04:00
Sang, Tao 7755660eeb SWDEV-533964 - Let comgr compile SPIRV to exec directly (#494) 2025-06-23 09:59:53 -04:00
Salinas, David f748dac1fb SWDEV-526498 - [HIPCC] Stop including perl scripts in hipcc packages (#474)
[ROCm/clr commit: 0635f13d9a]
2025-06-23 18:23:54 +05:30
Salinas, David 0635f13d9a SWDEV-526498 - [HIPCC] Stop including perl scripts in hipcc packages (#474) 2025-06-23 18:23:54 +05:30
Belton-Schure, Aidan 90508da214 Fix rocWMMA specialization (#532)
Co-authored-by: Aidan Belton <abeltons@amd.com>

[ROCm/clr commit: 49690b8b38]
2025-06-23 18:22:37 +05:30
Belton-Schure, Aidan 49690b8b38 Fix rocWMMA specialization (#532)
Co-authored-by: Aidan Belton <abeltons@amd.com>
2025-06-23 18:22:37 +05:30
Belton-Schure, Aidan 56bee0426a SWDEV-536813 - Fix HIP_vector_base alignment (#501)
* SWDEV-536813 - Fix HIP_vector_base alignment

Change-Id: I6ee211437768bbdf42186bcd0805b8c2290373da

* Remove alignas for vec3

Change-Id: If93c55327cad38cf179bdd2a89faa725b0a0fc15

* align array to match native_vector

Change-Id: I54fbdba01c19241a4c4945ba4c35ac6d40f17ea6

* update

Change-Id: Ib7de5a7ebde0b2a5c18fe5c70f7329a90807abfb

[ROCm/clr commit: 3faece02dc]
2025-06-23 18:21:51 +05:30
Belton-Schure, Aidan 3faece02dc SWDEV-536813 - Fix HIP_vector_base alignment (#501)
* SWDEV-536813 - Fix HIP_vector_base alignment

Change-Id: I6ee211437768bbdf42186bcd0805b8c2290373da

* Remove alignas for vec3

Change-Id: If93c55327cad38cf179bdd2a89faa725b0a0fc15

* align array to match native_vector

Change-Id: I54fbdba01c19241a4c4945ba4c35ac6d40f17ea6

* update

Change-Id: Ib7de5a7ebde0b2a5c18fe5c70f7329a90807abfb
2025-06-23 18:21:51 +05:30
jonatluu 590fb2798b Remove File reorganization backward compatibility (rccl) (#1753)
[ROCm/rccl commit: 709140204a]
2025-06-22 17:18:26 -05:00
jonatluu 709140204a Remove File reorganization backward compatibility (rccl) (#1753) 2025-06-22 17:18:26 -05:00
David Galiffi 8fcf3a50b0 Use gersemi for CMake formatting (#257)
* Replace `cmake-format` with `gersemi`

Signed-off-by: David Galiffi <David.Galiffi@amd.com>

* Remove .cmake-format.yaml

Signed-off-by: David Galiffi <David.Galiffi@amd.com>

* Update workflow to use gersemi

Signed-off-by: David Galiffi <David.Galiffi@amd.com>

* Update CONTRIBUTING.md

* Update helper scripts

* Don't include `*/external/*` in workflows

---------

Signed-off-by: David Galiffi <David.Galiffi@amd.com>

[ROCm/rocprofiler-systems commit: 122623a929]
2025-06-22 10:44:33 -04:00
David Galiffi 122623a929 Use gersemi for CMake formatting (#257)
* Replace `cmake-format` with `gersemi`

Signed-off-by: David Galiffi <David.Galiffi@amd.com>

* Remove .cmake-format.yaml

Signed-off-by: David Galiffi <David.Galiffi@amd.com>

* Update workflow to use gersemi

Signed-off-by: David Galiffi <David.Galiffi@amd.com>

* Update CONTRIBUTING.md

* Update helper scripts

* Don't include `*/external/*` in workflows

---------

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
2025-06-22 10:44:33 -04:00
David Galiffi 0403aaa97f Use clang-format-18 for source formatting (#256)
* Updating clang-format to v18

- Updates the pre-commit-config
- Formats source files according to the utility

Signed-off-by: David Galiffi <David.Galiffi@amd.com>

* Update format source workflow

Signed-off-by: David Galiffi <David.Galiffi@amd.com>

* Update CONTRIBUTING

* Update comment in .clang-format

* Update CONTRIBUTING.md

* Update helper script

---------

Signed-off-by: David Galiffi <David.Galiffi@amd.com>

[ROCm/rocprofiler-systems commit: 1e13b590e7]
2025-06-22 08:48:08 -04:00
David Galiffi 1e13b590e7 Use clang-format-18 for source formatting (#256)
* Updating clang-format to v18

- Updates the pre-commit-config
- Formats source files according to the utility

Signed-off-by: David Galiffi <David.Galiffi@amd.com>

* Update format source workflow

Signed-off-by: David Galiffi <David.Galiffi@amd.com>

* Update CONTRIBUTING

* Update comment in .clang-format

* Update CONTRIBUTING.md

* Update helper script

---------

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
2025-06-22 08:48:08 -04:00
Grant Pinkert 1d68693a2e Fix continuous build hang on extract_metadata.cmake (#1668)
When the `roc-obj-ls` executable fails, it sometimes does not return. Since the `execute_process` command will wait until the executable finishes, this means that in some cases, the build will hang indefinitely. There is no error message, and no indication that anything is wrong. This commit fixes that by introducing timeouts into the code and better error reporting.

[ROCm/rccl commit: 2482d1475f]
2025-06-22 05:54:44 -05:00
Grant Pinkert 2482d1475f Fix continuous build hang on extract_metadata.cmake (#1668)
When the `roc-obj-ls` executable fails, it sometimes does not return. Since the `execute_process` command will wait until the executable finishes, this means that in some cases, the build will hang indefinitely. There is no error message, and no indication that anything is wrong. This commit fixes that by introducing timeouts into the code and better error reporting.
2025-06-22 05:54:44 -05:00
Bertan Dogancay eaa770a017 [NPKit] Create dump dir regardless of default or user provided path (#1757)
[ROCm/rccl commit: 675b495a00]
2025-06-21 21:18:20 -05:00
Bertan Dogancay 675b495a00 [NPKit] Create dump dir regardless of default or user provided path (#1757) 2025-06-21 21:18:20 -05:00
Edgar Gabriel e167f50803 Introduce support for executing the IPC conduit without MPI (#153)
* relax MPI dependency from code

This commit (series) removes the strict dependency on MPI in code base.
rocSHMEM will still be compiled with MPI, but the goal is to make the
code work even if MPI_Init_thread has not been invoked, at least for
certain, well-defined scenarios. Hence, the goal is not remove any
mentioning of MPI from rocSHMEM, but to ensure correct execution of the
ipc conduit even if the library has been initialized using other means.

Details:
 - add non-MPI version of remote_heap and WindowInfo classes
 - host interfaces work on WindowInfoMPI, they will not work with the
   non-MPI code path. Since it is unclear whether we plan to support the
   host interfaces at all, this is probably not a major limitation.

* update symmetric_heap structures and backend

* first cut on initialization

and enabling non-MPI initialization of the IPCBackend

* add non-MPI hostInterface methods

at the moment, only barrier_all and sync_all are explicitely supported.

* add non-mpi version of ipc_policy

and a number of smaller fixes required in other files.
A small init/finalize test already passes now with the branch.

* add non-mpi team_split_strided code

* minor fixes for non-MPI use-case

* disable symmetric-heap-window-ionfo test

disable this test for now just to make the compilation pass. Will have
to rework it.

* make no-mpi great again

after rebasing on top of the MPI singleton changes.

* enable running functional tests with uuid init

to run the functional tests using rocshmem_init_attr and the uuid
mechanism requires
a) a PMIx installation on the system
b) setting the environment variable ROCSHMEM_TEST_UUID=1

* fix multi-team creation bug

fix a bug occuring when creating many teams, which was the result of
incorrectly applying two indices in our own implementation of Allreduce.

* make unit tests pass again

* reverse offload was impacted by code change

fix the RO conduit to cope wioth the non-MPI path introduced for the IPC
conduit.

* update to cmake logic to find pmix

* Update src/memory/window_info.hpp

Co-authored-by: Yiltan <ytemucin@amd.com>

* Update CMakeLists.txt

Co-authored-by: Yiltan <ytemucin@amd.com>

* document ROCSHMEM_UNIQUEID_NO_MPI

* rename env. variable to UNIQUEID_WITH_MPI

* update host.cpp to use USE_HDP_FLUSH macro

instead of the deprecated USE_COHERENT_HEAP.

* add note for running example with RO conduit

add a note clarifying that running init_attr_test from the example
directory requires setting an additional environment variable with the
RO conduit.

* Find PMIx in more cases, only apply pmix build options to the test that
needs it, if OMPI_COMM_WORLD_LOCA_RANK is not setenv, abort

---------

Co-authored-by: Yiltan <ytemucin@amd.com>
Co-authored-by: Aurelien Bouteiller <abouteil@amd.com>

[ROCm/rocshmem commit: 6ea5edc951]
2025-06-21 13:23:11 -05:00
Edgar Gabriel 6ea5edc951 Introduce support for executing the IPC conduit without MPI (#153)
* relax MPI dependency from code

This commit (series) removes the strict dependency on MPI in code base.
rocSHMEM will still be compiled with MPI, but the goal is to make the
code work even if MPI_Init_thread has not been invoked, at least for
certain, well-defined scenarios. Hence, the goal is not remove any
mentioning of MPI from rocSHMEM, but to ensure correct execution of the
ipc conduit even if the library has been initialized using other means.

Details:
 - add non-MPI version of remote_heap and WindowInfo classes
 - host interfaces work on WindowInfoMPI, they will not work with the
   non-MPI code path. Since it is unclear whether we plan to support the
   host interfaces at all, this is probably not a major limitation.

* update symmetric_heap structures and backend

* first cut on initialization

and enabling non-MPI initialization of the IPCBackend

* add non-MPI hostInterface methods

at the moment, only barrier_all and sync_all are explicitely supported.

* add non-mpi version of ipc_policy

and a number of smaller fixes required in other files.
A small init/finalize test already passes now with the branch.

* add non-mpi team_split_strided code

* minor fixes for non-MPI use-case

* disable symmetric-heap-window-ionfo test

disable this test for now just to make the compilation pass. Will have
to rework it.

* make no-mpi great again

after rebasing on top of the MPI singleton changes.

* enable running functional tests with uuid init

to run the functional tests using rocshmem_init_attr and the uuid
mechanism requires
a) a PMIx installation on the system
b) setting the environment variable ROCSHMEM_TEST_UUID=1

* fix multi-team creation bug

fix a bug occuring when creating many teams, which was the result of
incorrectly applying two indices in our own implementation of Allreduce.

* make unit tests pass again

* reverse offload was impacted by code change

fix the RO conduit to cope wioth the non-MPI path introduced for the IPC
conduit.

* update to cmake logic to find pmix

* Update src/memory/window_info.hpp

Co-authored-by: Yiltan <ytemucin@amd.com>

* Update CMakeLists.txt

Co-authored-by: Yiltan <ytemucin@amd.com>

* document ROCSHMEM_UNIQUEID_NO_MPI

* rename env. variable to UNIQUEID_WITH_MPI

* update host.cpp to use USE_HDP_FLUSH macro

instead of the deprecated USE_COHERENT_HEAP.

* add note for running example with RO conduit

add a note clarifying that running init_attr_test from the example
directory requires setting an additional environment variable with the
RO conduit.

* Find PMIx in more cases, only apply pmix build options to the test that
needs it, if OMPI_COMM_WORLD_LOCA_RANK is not setenv, abort

---------

Co-authored-by: Yiltan <ytemucin@amd.com>
Co-authored-by: Aurelien Bouteiller <abouteil@amd.com>
2025-06-21 13:23:11 -05:00
vedithal-amd 9873460265 Fix counter collection for MI 350 (#764)
* Fix TCC counter collection bug
* Fix accumulate counter collection
* Fix formatting

[ROCm/rocprofiler-compute commit: 5950a02ff6]
2025-06-21 08:48:25 -04:00
vedithal-amd 5950a02ff6 Fix counter collection for MI 350 (#764)
* Fix TCC counter collection bug
* Fix accumulate counter collection
* Fix formatting
2025-06-21 08:48:25 -04:00
Maisam Arif 2d2e5fe692 [SWDEV-533390] Removed kfd_ioctl.h from being copied on install
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I03cb03b5f034e822c8f3c2d1e11e8b4e57251905
2025-06-20 14:32:16 -05:00
Maisam Arif cd057e446f [SWDEV-533390] Removed kfd_ioctl.h from being copied on install
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I03cb03b5f034e822c8f3c2d1e11e8b4e57251905


[ROCm/amdsmi commit: 2d2e5fe692]
2025-06-20 14:32:16 -05:00
josnarlo d8b8dc4116 [SWDEV-539591] Allow integration tests to skip Not Supported APIs
Signed-off-by: josnarlo <Joseph.Narlo@amd.com>
2025-06-20 14:19:56 -05:00
josnarlo 4c0c050962 [SWDEV-539591] Allow integration tests to skip Not Supported APIs
Signed-off-by: josnarlo <Joseph.Narlo@amd.com>


[ROCm/amdsmi commit: d8b8dc4116]
2025-06-20 14:19:56 -05:00
Vaddireddy, Sushma 8b956a1f39 Added install target for simple-hip executable (#10)
* Added install target for simple-hip executable

* Updating destination path

* Update CMakeLists.txt

* Update CMakeLists.txt

* Test Installed Packages

* Updating Destination path

* Update continuous-integration.yml

* Update continuous-integration.yml

* Adding env

* Adding PACKAGING_INSTALL_PREFIX

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Add libasan.so path for AddressSanitizer preloadiing

* Add libasan.so path for AddressSanitizer preloadiing

* Add libasan.so path for test test-simple-hip-normal

* Added sanitizer runtime library for tests

* Added LD_PRELOAD to simple-hip-normal-env test

* Added LD_PRELOAD to simple-hip-normal-env test

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Formatting

* Updated path for simple-hip-preload-env

* Updated path for simple-hip-preload-env

* Update continuous-integration.yml

* Updated preload path for  simple-hip-preload-env

* Updated preload path for  simple-hip-preload-env

---------

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

[ROCm/rocprofiler-register commit: 03d58213b9]
2025-06-20 13:54:40 -05:00
Vaddireddy, Sushma 03d58213b9 Added install target for simple-hip executable (#10)
* Added install target for simple-hip executable

* Updating destination path

* Update CMakeLists.txt

* Update CMakeLists.txt

* Test Installed Packages

* Updating Destination path

* Update continuous-integration.yml

* Update continuous-integration.yml

* Adding env

* Adding PACKAGING_INSTALL_PREFIX

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Update continuous-integration.yml

* Add libasan.so path for AddressSanitizer preloadiing

* Add libasan.so path for AddressSanitizer preloadiing

* Add libasan.so path for test test-simple-hip-normal

* Added sanitizer runtime library for tests

* Added LD_PRELOAD to simple-hip-normal-env test

* Added LD_PRELOAD to simple-hip-normal-env test

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Formatting

* Updated path for simple-hip-preload-env

* Updated path for simple-hip-preload-env

* Update continuous-integration.yml

* Updated preload path for  simple-hip-preload-env

* Updated preload path for  simple-hip-preload-env

---------

Co-authored-by: Sushma Vaddireddy <svaddire@amd.com>
Co-authored-by: Elwazir, Ammar <Ammar.Elwazir@amd.com>
2025-06-20 13:54:40 -05:00
Galantsev, Dmitrii 9b5bbf555a DRM - Remove FD usage
Change-Id: I77dfa778ccd0d39a03289c2e11cf10357566ff16
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-06-20 11:00:42 -05:00
Galantsev, Dmitrii 44986cfbd4 DRM - Remove FD usage
Change-Id: I77dfa778ccd0d39a03289c2e11cf10357566ff16
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/amdsmi commit: 9b5bbf555a]
2025-06-20 11:00:42 -05:00
Galantsev, Dmitrii 202b46d96f DRM - Remove caching
Change-Id: I21716cc953462e385e981024f75a9a7c2d76a466
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-06-20 11:00:42 -05:00
Galantsev, Dmitrii 40228106b5 DRM - Remove caching
Change-Id: I21716cc953462e385e981024f75a9a7c2d76a466
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/amdsmi commit: 202b46d96f]
2025-06-20 11:00:42 -05:00
Galantsev, Dmitrii cb2f152205 DRM - Update to latest public
Change-Id: I9f7b46acbae654c377702a599c4b094fd621f101
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-06-20 11:00:42 -05:00
Galantsev, Dmitrii ccdd52e9c0 DRM - Update to latest public
Change-Id: I9f7b46acbae654c377702a599c4b094fd621f101
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/amdsmi commit: cb2f152205]
2025-06-20 11:00:42 -05:00
Bertan Dogancay 1e42d866da Merge pull request #1721 from BertanDogancay/2.26-sync
[SYNC] 2.26.6-1

[ROCm/rccl commit: 0c1795c64b]
2025-06-20 09:57:09 -04:00
Bertan Dogancay 0c1795c64b Merge pull request #1721 from BertanDogancay/2.26-sync
[SYNC] 2.26.6-1
2025-06-20 09:57:09 -04:00
Jason Bonnell dde3d61739 Ignore certain workflows when changes are only for .md, docs, and docker (#754)
* add paths-ignore for both push and PR to rhel-8.yml and ubuntu-jammy.yml

* add paths-ignore for PR only in tarball.yml

* add rocm-docs-core linting.yml workflow to formatting.yml

* fix small mistake in github directory path

* remove rocm-docs-core linting

[ROCm/rocprofiler-compute commit: 44c3516b8b]
2025-06-20 09:26:28 -04:00
Jason Bonnell 44c3516b8b Ignore certain workflows when changes are only for .md, docs, and docker (#754)
* add paths-ignore for both push and PR to rhel-8.yml and ubuntu-jammy.yml

* add paths-ignore for PR only in tarball.yml

* add rocm-docs-core linting.yml workflow to formatting.yml

* fix small mistake in github directory path

* remove rocm-docs-core linting
2025-06-20 09:26:28 -04:00
BertanDogancay c0c9312e38 Merge remote-tracking branch 'nccl/master' into develop
[ROCm/rccl commit: aaf023976a]
2025-06-20 07:54:49 -05:00
BertanDogancay aaf023976a Merge remote-tracking branch 'nccl/master' into develop 2025-06-20 07:54:49 -05:00