You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This topic explains how to compile and run rocSHMEM programs.
11
+
This topic explains how to compile and run rocSHMEM applications.
12
12
13
13
Compiling and linking with rocSHMEM
14
14
-----------------------------------
15
15
16
16
rocSHMEM is a library that can be statically linked to your application during compilation with ``hipcc``. For more information, see :doc:`HIPCC <hipcc:index>`.
17
17
18
18
When compiling your application with ``hipcc``, you must include the rocSHMEM header files and the rocSHMEM library.
19
-
Because rocSHMEM depends on MPI, you must manually add the arguments for MPI linkage instead of using ``mpicc``.
19
+
Because rocSHMEM depends on MPI (Message Passing Interface), you must manually add the arguments for MPI linkage instead of using ``mpicc``.
20
20
21
21
When using ``hipcc`` directly without a build system, it's recommended to perform the compilation and linking steps separately.
22
22
@@ -39,10 +39,10 @@ Example compile and link commands are provided at the top of the example files i
39
39
If your project uses CMake, see
40
40
`Using CMake with AMD ROCm <https://rocmdocs.amd.com/en/latest/conceptual/cmake-packages.html>`_.
41
41
42
-
Running a rocSHMEM program
42
+
Running a rocSHMEM application
43
43
--------------------------
44
44
45
-
Programs using rocSHMEM typically deploy multiple processes, usually one per GPU.
45
+
Applications using rocSHMEM typically deploy multiple processes, usually one per GPU.
46
46
The MPI launcher, for example, ``mpiexec`` with Open MPI, is used to start the required number
47
47
of processes. For example, to launch two ``getmem`` example processes (available when compiled from source):
Copy file name to clipboardExpand all lines: projects/rocshmem/docs/index.rst
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,9 @@
6
6
rocSHMEM documentation
7
7
****************************
8
8
9
-
The ROCm OpenSHMEM (rocSHMEM) runtime is an intra-kernel networking library that provides GPU-centric networking through an `OpenSHMEM-like <http://www.openshmem.org/site/>`_ interface. It simplifies application code complexity and enables finer communication and computation overlap than traditional host-driven networking. rocSHMEM uses a single symmetric heap (SHEAP) allocated to GPU memories. For more information, see :doc:`introduction`
9
+
The ROCm OpenSHMEM (rocSHMEM) is an intra-kernel networking library that provides GPU-centric networking through an `OpenSHMEM-like <http://www.openshmem.org/site/>`_ interface. It simplifies application code complexity and enables finer communication and computation overlap than traditional host-driven networking. rocSHMEM uses a single symmetric heap (SHEAP) allocated to GPU memories. For more information, see :doc:`introduction`
10
10
11
-
The code is open and hosted at `<https://github.com/ROCm/rocSHMEM>`_.
11
+
The rocSHMEM public repository is located at `<https://github.com/ROCm/rocSHMEM>`_.
12
12
13
13
.. grid:: 2
14
14
:gutter: 3
@@ -19,7 +19,7 @@ The code is open and hosted at `<https://github.com/ROCm/rocSHMEM>`_.
19
19
20
20
.. grid-item-card:: How to
21
21
22
-
* :doc:`Compile and run rocSHMEM programs<./compile_and_run>`
22
+
* :doc:`Compile and run applications<./compile_and_run>`
Copy file name to clipboardExpand all lines: projects/rocshmem/docs/install.rst
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ This topic describes how to install rocSHMEM.
13
13
Requirements
14
14
---------------------------
15
15
16
-
* ROCm 6.4.0 or later, including the :doc:`HIP runtime <hip:index>`.
16
+
* ROCm 6.4.0 or later, including the :doc:`HIP runtime <hip:index>`. For more information, see `ROCm installation for Linux <https://rocm.docs.amd.com/projects/install-on-linux/en/latest/>`_.
17
17
18
18
* AMD GPUs
19
19
@@ -79,7 +79,7 @@ Alternatively, you can use a script to install dependencies:
79
79
For more information about OpenMPI-UCX support, see
Copy file name to clipboardExpand all lines: projects/rocshmem/docs/introduction.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
What is rocSHMEM?
9
9
---------------------------
10
10
11
-
The ROCm OpenSHMEM (rocSHMEM) runtime is an intra-kernel networking library that provides GPU-centric networking through an OpenSHMEM-like interface. It simplifies application code complexity and enables finer communication and computation overlap than traditional host-driven networking. rocSHMEM uses a single symmetric heap (SHEAP) allocated on GPU memories.
11
+
The ROCm OpenSHMEM (rocSHMEM) is an intra-kernel networking library that provides GPU-centric networking through an OpenSHMEM-like interface. It simplifies application code complexity and enables finer communication and computation overlap than traditional host-driven networking. rocSHMEM uses a single symmetric heap allocated on GPU memories.
0 commit comments