Skip to content

Commit 8fbb892

Browse files
authored
Final edits (#126)
* final edits * more edits per review * more edits * attempt to fix dead link [ROCm/rocshmem commit: 8a266e6]
1 parent 35e3a27 commit 8fbb892

File tree

7 files changed

+19
-20
lines changed

7 files changed

+19
-20
lines changed

projects/rocshmem/docs/api/init.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ROCSHMEM_INIT
1717
:returns: None.
1818

1919
**Description:**
20-
This routine initializes the rocSHMEM runtime and underlying transport layer.
20+
This routine initializes the rocSHMEM library and underlying transport layer.
2121
Before ``rocshmem_init`` is called,
2222
you must select the device that this PE is associated to by calling
2323
`hipSetDevice
@@ -41,7 +41,7 @@ ROCSHMEM_FINALIZE
4141
:returns: None.
4242

4343
**Description:**
44-
This routine finalizes the rocSHMEM runtime.
44+
This routine finalizes the rocSHMEM library.
4545

4646
.. cpp:function:: __device__ void rocshmem_wg_finalize(void)
4747

projects/rocshmem/docs/api/pt2pt_sync.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,11 @@ ROCSHMEM_TEST
9696
**Description:**
9797
This routine tests if the condition ``(*ivars cmp val)`` is true.
9898

99+
.. _CMP_VALUES:
99100

100101
Supported comparisons
101102
---------------------
102103

103-
.. _CMP_VALUES:
104-
105104
The following table lists the point-to-point comparison constants:
106105

107106
.. list-table:: Point-to-Point Comparison Constants

projects/rocshmem/docs/compile_and_run.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
.. meta::
2-
:description: Information on how to compile and run rocSHMEM programs.
2+
:description: Information on how to compile and run rocSHMEM applications.
33
:keywords: rocSHMEM, ROCm, library, API, compile, link, hipcc
44

5-
.. _running-programs:
5+
.. _running-applications:
66

77
--------------------------------------------------
8-
Compiling and running rocSHMEM programs
8+
Compiling and running rocSHMEM applications
99
--------------------------------------------------
1010

11-
This topic explains how to compile and run rocSHMEM programs.
11+
This topic explains how to compile and run rocSHMEM applications.
1212

1313
Compiling and linking with rocSHMEM
1414
-----------------------------------
1515

1616
rocSHMEM is a library that can be statically linked to your application during compilation with ``hipcc``. For more information, see :doc:`HIPCC <hipcc:index>`.
1717

1818
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``.
2020

2121
When using ``hipcc`` directly without a build system, it's recommended to perform the compilation and linking steps separately.
2222

@@ -39,10 +39,10 @@ Example compile and link commands are provided at the top of the example files i
3939
If your project uses CMake, see
4040
`Using CMake with AMD ROCm <https://rocmdocs.amd.com/en/latest/conceptual/cmake-packages.html>`_.
4141

42-
Running a rocSHMEM program
42+
Running a rocSHMEM application
4343
--------------------------
4444

45-
Programs using rocSHMEM typically deploy multiple processes, usually one per GPU.
45+
Applications using rocSHMEM typically deploy multiple processes, usually one per GPU.
4646
The MPI launcher, for example, ``mpiexec`` with Open MPI, is used to start the required number
4747
of processes. For example, to launch two ``getmem`` example processes (available when compiled from source):
4848

projects/rocshmem/docs/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
rocSHMEM documentation
77
****************************
88

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`
1010

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>`_.
1212

1313
.. grid:: 2
1414
:gutter: 3
@@ -19,7 +19,7 @@ The code is open and hosted at `<https://github.com/ROCm/rocSHMEM>`_.
1919

2020
.. grid-item-card:: How to
2121

22-
* :doc:`Compile and run rocSHMEM programs <./compile_and_run>`
22+
* :doc:`Compile and run applications <./compile_and_run>`
2323

2424
.. grid-item-card:: API reference
2525

projects/rocshmem/docs/install.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This topic describes how to install rocSHMEM.
1313
Requirements
1414
---------------------------
1515

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/>`_.
1717

1818
* AMD GPUs
1919

@@ -79,7 +79,7 @@ Alternatively, you can use a script to install dependencies:
7979
For more information about OpenMPI-UCX support, see
8080
`GPU-enabled Message Passing Interface <https://rocm.docs.amd.com/en/latest/how-to/gpu-enabled-mpi.html>`_.
8181

82-
Installing rocSHMEM from source
82+
Installing from source
8383
--------------------------------
8484

8585
To build and install rocSHMEM with the IPC on-node, GPU-to-GPU backend, run:

projects/rocshmem/docs/introduction.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
What is rocSHMEM?
99
---------------------------
1010

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.
1212

1313
The rocSHMEM programming model
1414
-------------------------------

projects/rocshmem/docs/sphinx/_toc.yml.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ defaults:
22
numbered: False
33
root: index
44
subtrees:
5-
- caption: Introduction
6-
entries:
5+
6+
- entries:
77
- file: introduction.rst
88
title: What is rocSHMEM?
99

@@ -16,7 +16,7 @@ subtrees:
1616
- caption: How to
1717
entries:
1818
- file: compile_and_run.rst
19-
title: Compile and run rocSHMEM programs
19+
title: Compile and run applications
2020

2121
- caption: API reference
2222
entries:

0 commit comments

Comments
 (0)