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

[ROCm/rocprofiler-sdk commit: 4735196fe4]
This commit is contained in:
Bhardwaj, Gopesh
2025-03-20 21:39:53 +05:30
committato da GitHub
parent e744f11c2c
commit b3a603279b
17 ha cambiato i file con 1703 aggiunte e 1635 eliminazioni
@@ -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
===================