diff --git a/projects/amdsmi/Dockerfile b/projects/amdsmi/Dockerfile index 6dbd6354a6..bf956799f9 100644 --- a/projects/amdsmi/Dockerfile +++ b/projects/amdsmi/Dockerfile @@ -2,7 +2,7 @@ FROM rocm/dev-ubuntu-22.04 # Set environment variables for build directories and package patterns -ENV BUILD_FOLDER=/home/amdsmi/build +ENV BUILD_FOLDER=/home/rocm-systems/projects/amdsmi/build ENV DEB_BUILD="amd-smi-lib*99999-local_amd64.deb" ENV DEB_BUILD_TEST="amd-smi-lib-tests*99999-local_amd64.deb" @@ -16,11 +16,13 @@ RUN apt update && apt-get install -y git build-essential rpm pkg-config g++ pyth RUN python3 -m pip install --upgrade pip setuptools && \ python3 -m pip install cmake virtualenv -# Clone the AMD SMI repository from GitHub -RUN git clone -b amd-mainline https://github.com/ROCm/amdsmi.git +# Clone the AMD SMI repository from GitHub using sparse checkout +RUN git clone --filter=blob:none --sparse -b develop https://github.com/ROCm/rocm-systems.git && \ + cd rocm-systems && \ + git sparse-checkout set projects/amdsmi # Navigate to the amdsmi directory -WORKDIR /home/amdsmi +WORKDIR /home/rocm-systems/projects/amdsmi # Build and Install AMDSMI RUN rm -rf ${BUILD_FOLDER} && \ diff --git a/projects/clr/CONTRIBUTING.md b/projects/clr/CONTRIBUTING.md index af3cb3509e..3759798197 100644 --- a/projects/clr/CONTRIBUTING.md +++ b/projects/clr/CONTRIBUTING.md @@ -5,7 +5,8 @@ CLR is a part of HIP runtime for the AMD platform.Please follow these details to ## Issue Discussion ## -Please use the [GitHub Issue](https://github.com/ROCm/clr/issues) tab to notify us of issues. +Please use the [rocm-systems Issues](https://github.com/ROCm/rocm-systems/issues) tab to notify us of issues. In the `rocm-systems` repo, issues +related to CLR should be labeled accordingly to ensure they receive the proper attention. * Use your best judgement for issue creation. If your issue is already listed, upvote the issue and comment or post to provide additional details, such as how you reproduced this issue. diff --git a/projects/clr/README-doc.md b/projects/clr/README-doc.md index 80407772d7..687fe1dc55 100644 --- a/projects/clr/README-doc.md +++ b/projects/clr/README-doc.md @@ -27,7 +27,7 @@ If you need to build static clr library, `rocm-llvm-dev` package should be insta - `cmake .. -DCLR_BUILD_HIP=ON -DHIP_COMMON_DIR=$HIP_COMMON_DIR -DHIPCC_BIN_DIR=$HIPCC_BIN_DIR` - - `HIP_COMMON_DIR` points to [HIP](https://github.com/ROCm/HIP) + - `HIP_COMMON_DIR` points to [HIP](https://github.com/ROCm/rocm-systems/tree/develop/projects/hip) - `HIPCC_BIN_DIR` points to hipcc directory, if you have ROCm installed you can point it to `$ROCM_PATH/bin` @@ -51,7 +51,7 @@ For detail instructions, please refer to [how to build HIP](https://rocm.docs.am ## Tests -`hip-tests` is a separate repository hosted at [hip-tests](https://github.com/ROCm/hip-tests). +`hip-tests` is a separate project hosted at [hip-tests](https://github.com/ROCm/rocm-systems/tree/develop/projects/hip-tests). To run `hip-tests` please go to the repository and follow the steps. diff --git a/projects/hip/CONTRIBUTING.md b/projects/hip/CONTRIBUTING.md index 87a29256ec..d0552bb0a3 100644 --- a/projects/hip/CONTRIBUTING.md +++ b/projects/hip/CONTRIBUTING.md @@ -5,7 +5,8 @@ If you want to contribute to our documentation, refer to {doc}`Contribute to ROC ## Issue Discussion ## -Please use the [GitHub Issue](https://github.com/ROCm/HIP/issues) tab to notify us of issues. +Please use the [rocm-systems Issues](https://github.com/ROCm/rocm-systems/issues) tab to notify us of issues. In the `rocm-systems` repo, issues +related to HIP should be labeled accordingly to ensure they receive the proper attention. * Use your best judgement for issue creation. If your issue is already listed, upvote the issue and comment or post to provide additional details, such as how you reproduced this issue. diff --git a/projects/hip/docs/how-to/hip_runtime_api.rst b/projects/hip/docs/how-to/hip_runtime_api.rst index f76851e078..064d577b92 100644 --- a/projects/hip/docs/how-to/hip_runtime_api.rst +++ b/projects/hip/docs/how-to/hip_runtime_api.rst @@ -15,11 +15,11 @@ CUDA platform, it is only a thin layer over the CUDA runtime or Driver API. - **CLR** contains source code for AMD's compute language runtimes: ``HIP`` and ``OpenCL™``. CLR includes the ``HIP`` implementation on the AMD - platform: `hipamd `_ and the + platform: `hipamd `_ and the ROCm Compute Language Runtime (``rocclr``). ``rocclr`` is a virtual device interface that enables the HIP runtime to interact with different backends such as :doc:`ROCr ` on Linux or PAL on - Windows. CLR also includes the `OpenCL runtime `_ + Windows. CLR also includes the `OpenCL runtime `_ implementation. - The **CUDA runtime** is built on top of the CUDA driver API, which is a C API with lower-level access to NVIDIA GPUs. For details about the CUDA driver and @@ -33,7 +33,7 @@ the following figure: .. note:: On NVIDIA platform HIP runtime API calls CUDA runtime or CUDA driver via - hipother interface. For more information, see the `hipother repository `_. + hipother interface. For more information, see the `hipother repository `_. Here are the various HIP Runtime API high level functions: @@ -46,4 +46,4 @@ Here are the various HIP Runtime API high level functions: * :doc:`./hip_runtime_api/call_stack` * :doc:`./hip_runtime_api/multi_device` * :doc:`./hip_runtime_api/opengl_interop` -* :doc:`./hip_runtime_api/external_interop` \ No newline at end of file +* :doc:`./hip_runtime_api/external_interop` diff --git a/projects/hip/docs/understand/amd_clr.rst b/projects/hip/docs/understand/amd_clr.rst index bcefb68359..f074e39cf8 100644 --- a/projects/hip/docs/understand/amd_clr.rst +++ b/projects/hip/docs/understand/amd_clr.rst @@ -19,11 +19,11 @@ Project organization CLR includes the following source code, -* ``hipamd`` - contains implementation of ``HIP`` language on the AMD platform. It is hosted at `clr/hipamd `_. +* ``hipamd`` - contains implementation of ``HIP`` language on the AMD platform. It is hosted at `clr/hipamd `_. -* ``opencl`` - contains implementation of `OpenCL™ `_ on AMD platform. It is hosted at `clr/opencl `_. +* ``opencl`` - contains implementation of `OpenCL™ `_ on AMD platform. It is hosted at `clr/opencl `_. -* ``rocclr`` - contains ROCm compute runtime used in `HIP` and `OpenCL™`. This is hosted at `clr/rocclr `_. +* ``rocclr`` - contains ROCm compute runtime used in `HIP` and `OpenCL™`. This is hosted at `clr/rocclr `_. How to build/install @@ -52,7 +52,7 @@ Linux cmake .. -DCLR_BUILD_HIP=ON -DHIP_COMMON_DIR=$HIP_COMMON_DIR - ``HIP_COMMON_DIR`` points to `HIP `_. + ``HIP_COMMON_DIR`` points to `HIP `_. * For ``OpenCL™`` @@ -71,7 +71,7 @@ For detail instructions, please refer to `build HIP `_. +``hip-tests`` is a separate repository hosted at `hip-tests `_. To run ``hip-tests`` please go to the repository and follow the steps. @@ -79,4 +79,4 @@ To run ``hip-tests`` please go to the repository and follow the steps. Release notes ------------- -HIP provides release notes in CLR `change log `_, which has records of changes in each release. +HIP provides release notes in CLR `change log `_, which has records of changes in each release. diff --git a/projects/hip/docs/what_is_hip.rst b/projects/hip/docs/what_is_hip.rst index 0e4d0560d2..96875c65f2 100644 --- a/projects/hip/docs/what_is_hip.rst +++ b/projects/hip/docs/what_is_hip.rst @@ -80,7 +80,7 @@ HIP runtime API to the CUDA runtime API. The host-side contains mostly inlined wrappers or even just preprocessor defines, with no additional overhead. The device-side code is compiled with ``nvcc``, just like normal CUDA kernels, and therefore one can expect the same performance as if directly coding in CUDA. -The CUDA specific headers can be found in the `hipother repository `_. +The CUDA specific headers can be found in the `hipother repository `_. For further details, check :ref:`HIP Runtime API Reference `. diff --git a/projects/hipother/CONTRIBUTING.md b/projects/hipother/CONTRIBUTING.md index 719e302cc7..bd241dbdf0 100644 --- a/projects/hipother/CONTRIBUTING.md +++ b/projects/hipother/CONTRIBUTING.md @@ -5,7 +5,8 @@ If you want to contribute to our documentation, refer to {doc}`Contribute to ROC ## Issue Discussion ## -Please use the [GitHub Issue](https://github.com/ROCm/hipother/issues) tab to notify us of issues. +Please use the [rocm-systems Issues](https://github.com/ROCm/rocm-systems/issues) tab to notify us of issues. In the `rocm-systems` repo, issues +related to `hipother` should be labeled accordingly to ensure they receive the proper attention. * Use your best judgement for issue creation. If your issue is already listed, upvote the issue and comment or post to provide additional details, such as how you reproduced this issue. @@ -130,4 +131,4 @@ During code reviews, another developer will take a look through your proposed ch needed), they may leave a comment. You can follow up and respond to the comment, and/or create comments of your own if you have questions or ideas. When a modification request has been completed, the conversation thread about it will be marked as resolved. -To update the code in your PR (eg. in response to a code review discussion), you can simply push another commit to the branch used in your pull request. \ No newline at end of file +To update the code in your PR (eg. in response to a code review discussion), you can simply push another commit to the branch used in your pull request. diff --git a/projects/rocr-runtime/runtime/docs/install/installation.rst b/projects/rocr-runtime/runtime/docs/install/installation.rst index e75c617e4e..d4652a34a8 100644 --- a/projects/rocr-runtime/runtime/docs/install/installation.rst +++ b/projects/rocr-runtime/runtime/docs/install/installation.rst @@ -60,7 +60,7 @@ Prerequisites sudo apt install libelf-dev g++ -- A compatible version of the ``libhsakmt`` library and the ``hsakmt.h`` header file. Obtain the latest version of these files from the `ROCT-Thunk-Interface repository `_. +- A compatible version of the ``libhsakmt`` library and the ``hsakmt.h`` header file. Obtain the latest version of these files from `ROCR-Runtime/libhsakmt `_. - Install ``xxd``.