changing markdown to rst format (#259)
* changing markdown extension to rst extension * updating callback services * updating all services, ssamples and installtion * Fix build * More fixes * more fixes * minor fixes * more fixes * merging changes for SWDEV-510794 from pr 227
Этот коммит содержится в:
1 родитель
bcc15a28d0
Коммит
4735196fe4
17 files changed
+1703
-1635
No files matched your search
@@ -1,51 +0,0 @@
|
||||
---
|
||||
myst:
|
||||
html_meta:
|
||||
"description": "ROCprofiler-SDK is a tooling infrastructure for profiling general-purpose GPU compute applications running on the ROCm software."
|
||||
"keywords": "ROCprofiler-SDK, ROCProfiler-SDK samples"
|
||||
---
|
||||
|
||||
# ROCprofiler-SDK samples
|
||||
|
||||
The samples are provided to help you see the profiler in action.
|
||||
|
||||
## Finding samples
|
||||
|
||||
The ROCm installation provides sample programs and `rocprofv3` tool.
|
||||
|
||||
- Sample programs are installed here:
|
||||
|
||||
```bash
|
||||
/opt/rocm/share/rocprofiler-sdk/samples
|
||||
```
|
||||
|
||||
- `rocprofv3` tool is installed here:
|
||||
|
||||
```bash
|
||||
/opt/rocm/bin
|
||||
```
|
||||
|
||||
## Building Samples
|
||||
|
||||
To build samples from any directory, run:
|
||||
|
||||
```bash
|
||||
cmake -B build-rocprofiler-sdk-samples /opt/rocm/share/rocprofiler-sdk/samples -DCMAKE_PREFIX_PATH=/opt/rocm
|
||||
cmake --build build-rocprofiler-sdk-samples --target all --parallel 8
|
||||
```
|
||||
|
||||
## Running samples
|
||||
|
||||
To run the built samples, `cd` into the `build-rocprofiler-sdk-samples` directory and run:
|
||||
|
||||
```bash
|
||||
ctest -V
|
||||
```
|
||||
|
||||
:::{note}
|
||||
Running a few of these tests require you to install [pandas](https://pandas.pydata.org/) and [pytest](https://docs.pytest.org/en/stable/) first.
|
||||
:::
|
||||
|
||||
```bash
|
||||
/usr/local/bin/python -m pip install -r requirements.txt
|
||||
```
|
||||
@@ -0,0 +1,49 @@
|
||||
.. ---
|
||||
.. myst:
|
||||
.. html_meta:
|
||||
.. "description": "ROCprofiler-SDK is a tooling infrastructure for profiling general-purpose GPU compute applications running on the ROCm software."
|
||||
.. "keywords": "ROCprofiler-SDK, ROCProfiler-SDK samples"
|
||||
.. ---
|
||||
|
||||
ROCprofiler-SDK samples
|
||||
========================
|
||||
|
||||
The samples are provided to help you see the profiler in action.
|
||||
|
||||
Finding samples
|
||||
---------------
|
||||
|
||||
The ROCm installation provides sample programs and ``rocprofv3`` tool.
|
||||
|
||||
- Sample programs are installed here:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
/opt/rocm/share/rocprofiler-sdk/samples
|
||||
|
||||
- ``rocprofv3`` tool is installed here:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
/opt/rocm/bin
|
||||
|
||||
Building Samples
|
||||
----------------
|
||||
|
||||
To build samples from any directory, run:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
cmake -B build-rocprofiler-sdk-samples /opt/rocm/share/rocprofiler-sdk/samples -DCMAKE_PREFIX_PATH=/opt/rocm
|
||||
cmake --build build-rocprofiler-sdk-samples --target all --parallel 8
|
||||
|
||||
|
||||
Running samples
|
||||
---------------
|
||||
|
||||
To run the built samples, ``cd`` into the ``build-rocprofiler-sdk-samples`` directory and run:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
ctest -V
|
||||
|
||||
@@ -41,11 +41,10 @@ In the preceding example, an extra agent info file is generated for the ``mpirun
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
3000020_agent_info.csv
|
||||
3000019_agent_info.csv
|
||||
3000020_hip_api_trace.csv
|
||||
3000019_hip_api_trace.csv
|
||||
3164458_agent_info.csv
|
||||
ubuntu-latest.3000020.1/3000020_agent_info.csv
|
||||
ubuntu-latest.3000020.0/3000019_agent_info.csv
|
||||
ubuntu-latest.3000020.1/3000020_hip_api_trace.csv
|
||||
ubuntu-latest.3000020.0/3000019_hip_api_trace.csv
|
||||
|
||||
ROCTx annotations
|
||||
===================
|
||||
|
||||
Reference in new issue
Block a user