2024-03-08 08:35:16 +05:30
# ROCprofiler-SDK: Application Profiling, Tracing, and Performance Analysis
** *
2024-04-14 14:35:00 -05:00
Note: rocprofiler-sdk is currently `not` supported as part of the public ROCm software stack and is only distributed as a beta
2024-03-08 08:35:16 +05:30
release to customers.
** *
## Overview
2024-04-14 14:35:00 -05:00
ROCProfiler-SDK is AMD’ s new and improved tooling infrastructure, providing a hardware-specific low-level performance analysis interface for profiling and tracing GPU compute applications. To see what's changed [Click Here ](source/docs/about.md )
2024-03-08 08:35:16 +05:30
## GPU Metrics
- GPU hardware counters
- HIP API tracing
- HIP kernel tracing
- HSA API tracing
- HSA operation tracing
- Marker(ROCtx) tracing
## Tool Support
2024-04-14 14:35:00 -05:00
rocprofv3 is the command line tool built using the rocprofiler-sdk library and shipped with the ROCm stack. To see details on
2024-03-08 08:35:16 +05:30
the command line options of rocprofv3, please see rocprofv3 user guide
2024-04-03 00:41:05 +05:30
[Click Here ](source/docs/rocprofv3.md )
2024-03-08 08:35:16 +05:30
## Documentation
2024-04-14 14:35:00 -05:00
We make use of doxygen to generate API documentation automatically. The generated document can be found in the following path:
2024-03-08 08:35:16 +05:30
``` bash
<ROCM_PATH>/share/html/rocprofiler-sdk
` ``
ROCM_PATH by default is /opt/rocm
2024-04-14 14:35:00 -05:00
It can be set by the user in different locations if needed.
2024-03-08 08:35:16 +05:30
## Build and Installation
` ``bash
2024-04-14 14:35:00 -05:00
git clone https://git@github.com:ROCm/rocprofiler-sdk.git rocprofiler-sdk-source
2024-03-08 08:35:16 +05:30
cmake \
-B rocprofiler-sdk-build \
-D ROCPROFILER_BUILD_TESTS=ON \
-D ROCPROFILER_BUILD_SAMPLES=ON \
-D ROCPROFILER_BUILD_DOCS=ON \
-D CMAKE_INSTALL_PREFIX=/opt/rocm \
rocprofiler-sdk-source
2024-04-09 20:49:16 +05:30
cmake --build rocprofiler-sdk-build --target all --parallel 8
2024-03-08 08:35:16 +05:30
` ``
To install ROCprofiler, run:
` ``bash
cmake --build rocprofiler-sdk-build --target install
` ``
2024-04-14 14:35:00 -05:00
Please see the detailed section on build and installation here: [Click Here ](/source/docs/installation.md )
2024-03-08 08:35:16 +05:30
## Support
Please report in the Github Issues.
## Limitations
2024-04-14 14:35:00 -05:00
- Individual XCC mode is not supported.