Skip to content

Commit

Permalink
Add rocm-smi to GPU docs (#1102)
Browse files Browse the repository at this point in the history
* Add rocm-smi to gpu docs

* spellcheck sampling

---------

Co-authored-by: Nicole Marsaglia <[email protected]>
  • Loading branch information
nicolemarsaglia and Nicole Marsaglia authored Feb 14, 2023
1 parent 0e4ad64 commit 60dcf7d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/docs/sphinx/Actions/Binning.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ simulation codes, regardless of the underlying mesh representation.

Sampling and Aggregation
------------------------
When specifying the number of bins on an axis, there will always be over smapling or undersampling.
During spatial binning, each zone is placed into a bin based on it centriod, and as with all
When specifying the number of bins on an axis, there will always be over sampling or undersampling.
During spatial binning, each zone is placed into a bin based on its centriod, and as with all
binning, this is subject to over sampling or under sampling.


Expand All @@ -62,7 +62,7 @@ example.

An example of spatial over sampling.

When oversamping data, the default value of an empy bin is 0. That said, the default empty
When oversampling data, the default value of an empty bin is 0. That said, the default empty
value can be overridden by an option named parameter, e.g., `empty_bin_val=100`.
This is often useful when the default value is part of the data range, and setting
the empty bin value to something known, allows the user to filter out empty bins
Expand Down
13 changes: 13 additions & 0 deletions src/docs/sphinx/GPU_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,19 @@ By default, each CUDA capable GPU device is queried, and a rank is assigned a de
Collisions could result in a run-time failure or significant delays.
This default behavior can be overridden. Please see the Ascent options for more details.

Using ROCm-SMI on AMD GPUs
--------------------------
ROCm-SMI stands for ROCm System Management Interface and provides an interfaces for applications and users to monitor and control GPU applicatoins.

ROCm-SMI can be used to verify GPU usage.
This is done by launching your application and then using ROCm-SMI on the same node to monitor the running job.

The following call will monitor the usage of GPUs every tenth of a second:

.. code-block:: sh
watch -n 0.1 rocm-smi
Using RocProf on AMD GPUs
-------------------------
RocProf is a command line tool provided by ROCm that is implemented on top of the rocProfiler and rocTracer APIs.
Expand Down

0 comments on commit 60dcf7d

Please sign in to comment.