[rdc] Replace readme link rdc -> rocm-systems/projects/rdc (#1758)
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
Tento commit je obsažen v:
@@ -12,7 +12,7 @@ Full documentation for RDC is available at [ROCm DataCenter Tool User Guide](htt
|
||||
### Changed
|
||||
|
||||
- Completed migration from legacy [ROCProfiler](https://rocm.docs.amd.com/projects/rocprofiler/en/latest/) to [ROCprofiler-SDK](https://rocm.docs.amd.com/projects/rocprofiler-sdk/en/latest/).
|
||||
- Reorganized the configuration files internally and improved [README/installation](https://github.com/ROCm/rdc/blob/amd-staging/README.md) instructions.
|
||||
- Reorganized the configuration files internally and improved [README/installation](https://github.com/ROCm/rocm-systems/blob/develop/projects/rdc/README.md) instructions.
|
||||
- Updated metrics and monitoring support for the latest AMD data center GPUs.
|
||||
|
||||
### Optimized
|
||||
|
||||
@@ -44,7 +44,7 @@ ENV RDC_LIB_DIR=/opt/rocm/lib/rdc
|
||||
ENV CMAKE_ROOT=/usr/bin/cmake
|
||||
|
||||
# Install gRPC
|
||||
RUN git clone -b v1.61.0 https://github.com/grpc/grpc --depth=1 --shallow-submodules --recurse-submodules && \
|
||||
RUN git clone -b v1.67.1 https://github.com/grpc/grpc --depth=1 --shallow-submodules --recurse-submodules && \
|
||||
cd grpc && \
|
||||
cmake -B build \
|
||||
-DgRPC_INSTALL=ON \
|
||||
@@ -58,8 +58,8 @@ RUN git clone -b v1.61.0 https://github.com/grpc/grpc --depth=1 --shallow-submod
|
||||
echo "$GRPC_ROOT" | tee /etc/ld.so.conf.d/grpc.conf
|
||||
|
||||
# Build and install RDC
|
||||
RUN git clone https://github.com/ROCm/rdc && \
|
||||
cd rdc && \
|
||||
RUN git clone https://github.com/ROCm/rocm-systems --recursive && \
|
||||
cd rocm-systems/projects/rdc && \
|
||||
cmake -B build -DGRPC_ROOT="$GRPC_ROOT" \
|
||||
-DSMIDIR="$SMI_DIR" \
|
||||
-DBUILD_TESTS=OFF \
|
||||
|
||||
@@ -19,7 +19,7 @@ git clone https://github.com/ROCm/amdsmi.git
|
||||
### RDC
|
||||
|
||||
```bash
|
||||
git clone https://github.com/ROCm/rdc.git
|
||||
git clone https://github.com/ROCm/rocm-systems.git --recursive
|
||||
```
|
||||
|
||||
## Step 2: Build AMDSMI Base Image
|
||||
@@ -33,7 +33,7 @@ git clone https://github.com/ROCm/rdc.git
|
||||
|
||||
## Step 3: Build RDC Image
|
||||
|
||||
1. Navigate to the `rdc` directory on your system.
|
||||
1. Navigate to the `rocm-systems/projects/rdc` directory on your system.
|
||||
2. Navigate into the `/Docker` directory.
|
||||
3. Build the Docker image using the following command:
|
||||
|
||||
@@ -74,4 +74,4 @@ sudo docker run --rm -ti \
|
||||
amdsmi-image
|
||||
```
|
||||
> [!IMPORTANT]
|
||||
> Make sure that you are in the `amdsmi` directory before running.
|
||||
> Make sure that you are in the `amdsmi` directory before running.
|
||||
|
||||
@@ -168,8 +168,8 @@ If you prefer to build RDC from source, follow the steps below.
|
||||
1. **Clone the RDC Repository:**
|
||||
|
||||
```bash
|
||||
git clone https://github.com/ROCm/rdc
|
||||
cd rdc
|
||||
git clone https://github.com/ROCm/rocm-systems --recursive
|
||||
cd rocm-systems/projects/rdc
|
||||
```
|
||||
|
||||
2. **Configure the Build:**
|
||||
|
||||
@@ -16,7 +16,11 @@ Here are the main RDC features:
|
||||
* Integration with third-party tools
|
||||
* Open source
|
||||
|
||||
The code is open and hosted at `<https://github.com/ROCm/rdc>`_.
|
||||
The code is open and hosted at `<https://github.com/ROCm/rocm-systems/tree/develop/projects/rdc>`_.
|
||||
|
||||
.. note::
|
||||
|
||||
The RDC repository for ROCm 7.0 and earlier is located at `<https://github.com/ROCm/rdc>`_.
|
||||
|
||||
.. grid:: 2
|
||||
:gutter: 3
|
||||
|
||||
@@ -18,8 +18,8 @@ To build and install, clone the RDC source code from GitHub and use CMake.
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
$ git clone <GitHub for RDC>
|
||||
$ cd rdc
|
||||
$ git clone 'https://github.com/ROCm/rocm-systems' --recursive
|
||||
$ cd rocm-systems/projects/rdc
|
||||
$ mkdir -p build; cd build
|
||||
$ cmake -DROCM_DIR=/opt/rocm -DGRPC_ROOT="$GRPC_PROTOC_ROOT"..
|
||||
$ make
|
||||
@@ -44,7 +44,7 @@ Build Unit Tests for RDC Tool
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
$ cd rdc/tests/rdc_tests
|
||||
$ cd rocm-systems/projects/rdc/tests/rdc_tests
|
||||
$ mkdir -p build; cd build
|
||||
$ cmake -DROCM_DIR=/opt/rocm -DGRPC_ROOT="$GRPC_PROTOC_ROOT"..
|
||||
$ make
|
||||
|
||||
@@ -87,8 +87,8 @@ Build RDC
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
git clone https://github.com/ROCm/rdc
|
||||
cd rdc
|
||||
git clone https://github.com/ROCm/rocm-systems --recursive
|
||||
cd rocm-systems/projects/rdc
|
||||
|
||||
2. Configure the build:
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
Job stats sample code
|
||||
**********************
|
||||
|
||||
The following pseudocode shows how RDC API can be directly used to record GPU statistics associated with any job or workload. Refer to the `example code <https://github.com/ROCm/rdc/tree/amd-staging/example>`_ on how to build it.
|
||||
The following pseudocode shows how RDC API can be directly used to record GPU statistics associated with any job or workload. Refer to the `example code <https://github.com/ROCm/rocm-systems/tree/develop/projects/rdc/example>`_ on how to build it.
|
||||
|
||||
For more information on Job stats, see :ref:`Job stats <job-stats>`.
|
||||
|
||||
|
||||
Odkázat v novém úkolu
Zablokovat Uživatele