From cb257ab9f74a79e2915bdd1fd294ed937cc0ff31 Mon Sep 17 00:00:00 2001 From: Swati Rawat <120587655+SwRaw@users.noreply.github.com> Date: Fri, 14 Nov 2025 17:49:26 +0530 Subject: [PATCH] [rdc] Replace readme link rdc -> rocm-systems/projects/rdc (#1758) Signed-off-by: Galantsev, Dmitrii --- projects/rdc/CHANGELOG.md | 2 +- projects/rdc/Docker/Dockerfile | 6 +++--- projects/rdc/Docker/README.md | 6 +++--- projects/rdc/README.md | 4 ++-- projects/rdc/docs/index.rst | 6 +++++- projects/rdc/docs/install/handbook.rst | 6 +++--- projects/rdc/docs/install/install.rst | 4 ++-- projects/rdc/docs/tutorial/job_stats_sample.rst | 2 +- 8 files changed, 20 insertions(+), 16 deletions(-) diff --git a/projects/rdc/CHANGELOG.md b/projects/rdc/CHANGELOG.md index 0aff35ad64..86c3c58bb4 100644 --- a/projects/rdc/CHANGELOG.md +++ b/projects/rdc/CHANGELOG.md @@ -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 diff --git a/projects/rdc/Docker/Dockerfile b/projects/rdc/Docker/Dockerfile index 89d2026f43..c2929f0872 100644 --- a/projects/rdc/Docker/Dockerfile +++ b/projects/rdc/Docker/Dockerfile @@ -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 \ diff --git a/projects/rdc/Docker/README.md b/projects/rdc/Docker/README.md index 315d478f98..1abcd8c8f2 100644 --- a/projects/rdc/Docker/README.md +++ b/projects/rdc/Docker/README.md @@ -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. \ No newline at end of file +> Make sure that you are in the `amdsmi` directory before running. diff --git a/projects/rdc/README.md b/projects/rdc/README.md index befa104413..bad829b6f9 100644 --- a/projects/rdc/README.md +++ b/projects/rdc/README.md @@ -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:** diff --git a/projects/rdc/docs/index.rst b/projects/rdc/docs/index.rst index d87bd61701..fbdbd8c43e 100644 --- a/projects/rdc/docs/index.rst +++ b/projects/rdc/docs/index.rst @@ -16,7 +16,11 @@ Here are the main RDC features: * Integration with third-party tools * Open source -The code is open and hosted at ``_. +The code is open and hosted at ``_. + +.. note:: + + The RDC repository for ROCm 7.0 and earlier is located at ``_. .. grid:: 2 :gutter: 3 diff --git a/projects/rdc/docs/install/handbook.rst b/projects/rdc/docs/install/handbook.rst index 94a8ff8a56..e65864c0db 100644 --- a/projects/rdc/docs/install/handbook.rst +++ b/projects/rdc/docs/install/handbook.rst @@ -18,8 +18,8 @@ To build and install, clone the RDC source code from GitHub and use CMake. .. code-block:: shell - $ git clone - $ 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 diff --git a/projects/rdc/docs/install/install.rst b/projects/rdc/docs/install/install.rst index 575134b3c9..474d443cca 100644 --- a/projects/rdc/docs/install/install.rst +++ b/projects/rdc/docs/install/install.rst @@ -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: diff --git a/projects/rdc/docs/tutorial/job_stats_sample.rst b/projects/rdc/docs/tutorial/job_stats_sample.rst index c6e03bd8e0..06fe5a2c5d 100644 --- a/projects/rdc/docs/tutorial/job_stats_sample.rst +++ b/projects/rdc/docs/tutorial/job_stats_sample.rst @@ -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 `_ 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 `_ on how to build it. For more information on Job stats, see :ref:`Job stats `.