From 080687ffdcce2a1289bfef9ef31ca20796818cf8 Mon Sep 17 00:00:00 2001 From: Julia Jiang Date: Fri, 8 Nov 2024 15:20:09 -0500 Subject: [PATCH] SWDEV-497324 - Rename CLR as Compute Language Runtime Change-Id: I5cbb8ca5745c77ae877101ac76921e59dd221dee [ROCm/hip commit: 5f70ceb5e51811b8376b9aa591ffdb392dbc0d49] --- projects/hip/README.md | 2 +- projects/hip/docs/how-to/faq.md | 2 +- projects/hip/docs/how-to/hip_porting_guide.md | 2 +- projects/hip/docs/index.md | 2 +- projects/hip/docs/install/build.rst | 4 ++-- projects/hip/docs/understand/amd_clr.rst | 4 ++-- projects/hip/docs/understand/glossary.md | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/projects/hip/README.md b/projects/hip/README.md index e7037c7fdb..d5f278f3c2 100644 --- a/projects/hip/README.md +++ b/projects/hip/README.md @@ -115,7 +115,7 @@ HIP C++ code can be compiled with either, functions and thus has very low overhead - developers coding in HIP should expect the same performance as coding in native CUDA. The code is then compiled with nvcc, the standard C++ compiler provided with the CUDA SDK. Developers can use any tools supported by the CUDA SDK including the CUDA profiler and debugger. -* On the AMD ROCm platform, HIP provides a header and runtime library built on top of HIP-Clang compiler in the repository [Common Language Runtime (CLR)](https://github.com/ROCm/clr). The HIP runtime implements HIP streams, events, and memory APIs, +* On the AMD ROCm platform, HIP provides a header and runtime library built on top of HIP-Clang compiler in the repository [Compute Language Runtime (CLR)](https://github.com/ROCm/clr). The HIP runtime implements HIP streams, events, and memory APIs, and is a object library that is linked with the application. The source code for all headers and the library implementation is available on GitHub. HIP developers on ROCm can use AMD's [ROCgdb](https://github.com/ROCm/ROCgdb) for debugging and profiling. diff --git a/projects/hip/docs/how-to/faq.md b/projects/hip/docs/how-to/faq.md index 805e5a5ac0..24a638190e 100644 --- a/projects/hip/docs/how-to/faq.md +++ b/projects/hip/docs/how-to/faq.md @@ -162,7 +162,7 @@ NOTE: If HIP_ROCCLR_HOME is set, there is no need to set HIP_CLANG_PATH since hi ## What is AMD clr? -AMD [Common Language Runtime (CLR)](https://github.com/ROCm/clr) is a repository for the AMD platform, which contains source codes for AMD's compute languages runtimes as follows, +AMD [Compute Language Runtime (CLR)](https://github.com/ROCm/clr) is a repository for the AMD platform, which contains source codes for AMD's compute languages runtimes as follows, * hipamd - contains implementation of HIP language for AMD GPU. * rocclr - contains virtual device interfaces that compute runtimes interact with backends, such as ROCr on Linux and PAL on Windows. diff --git a/projects/hip/docs/how-to/hip_porting_guide.md b/projects/hip/docs/how-to/hip_porting_guide.md index 8e123c105a..b052dcda79 100644 --- a/projects/hip/docs/how-to/hip_porting_guide.md +++ b/projects/hip/docs/how-to/hip_porting_guide.md @@ -252,7 +252,7 @@ HIP_PATH ?= $(shell hipconfig --path) HIP can depend on rocclr, or CUDA as runtime * AMD platform -On AMD platform, HIP uses Radeon Open Compute Common Language Runtime, called ROCclr. +On AMD platform, HIP uses ROCm Compute Language Runtime, called ROCclr. ROCclr is a virtual device interface that HIP runtimes interact with different backends which allows runtimes to work on Linux , as well as Windows without much efforts. * NVIDIA platform diff --git a/projects/hip/docs/index.md b/projects/hip/docs/index.md index 54fa9cc411..e62da5fa73 100644 --- a/projects/hip/docs/index.md +++ b/projects/hip/docs/index.md @@ -11,7 +11,7 @@ For HIP supported AMD GPUs on multiple operating systems, see: The CUDA enabled NVIDIA GPUs are supported by HIP. For more information, see [GPU Compute Capability](https://developer.nvidia.com/cuda-gpus). -On the AMD ROCm platform, HIP provides header files and runtime library built on top of HIP-Clang compiler in the repository [Common Language Runtimes (CLR)](./understand/amd_clr), which contains source codes for AMD's compute languages runtimes as follows, +On the AMD ROCm platform, HIP provides header files and runtime library built on top of HIP-Clang compiler in the repository [Compute Language Runtimes (CLR)](./understand/amd_clr), which contains source codes for AMD's compute languages runtimes as follows, On non-AMD platforms, like NVIDIA, HIP provides header files required to support non-AMD specific back-end implementation in the repository ['hipother'](https://github.com/ROCm/hipother), which translates from the HIP runtime APIs to CUDA runtime APIs. diff --git a/projects/hip/docs/install/build.rst b/projects/hip/docs/install/build.rst index 72fed1dc48..013297962f 100644 --- a/projects/hip/docs/install/build.rst +++ b/projects/hip/docs/install/build.rst @@ -60,9 +60,9 @@ Set the repository branch using the variable: ``ROCM_BRANCH``. For example, for git clone -b "$ROCM_BRANCH" https://github.com/ROCm/clr.git git clone -b "$ROCM_BRANCH" https://github.com/ROCm/hip.git - CLR (Common Language Runtime) repository includes ROCclr, HIPAMD and OpenCL. + CLR (Compute Language Runtime) repository includes ROCclr, HIPAMD and OpenCL. - ROCclr (Radeon Open Compute Common Language Runtime) is a virtual device interface which + ROCclr (ROCm Compute Language Runtime) is a virtual device interface which is defined on the AMD platform. HIP runtime uses ROCclr to interact with different backends. HIPAMD provides implementation specifically for HIP on the AMD platform. diff --git a/projects/hip/docs/understand/amd_clr.rst b/projects/hip/docs/understand/amd_clr.rst index 3a643cb051..eca39270cd 100644 --- a/projects/hip/docs/understand/amd_clr.rst +++ b/projects/hip/docs/understand/amd_clr.rst @@ -5,7 +5,7 @@ .. _AMD_Compute_Language_Runtimes: ******************************************************************************* -AMD common language runtimes (CLR) +AMD compute language runtimes (CLR) ******************************************************************************* CLR contains source codes for AMD's compute languages runtimes: ``HIP`` and ``OpenCL™``. @@ -23,7 +23,7 @@ CLR includes the following source code, * ``opencl`` - contains implementation of `OpenCL™ `_ on AMD platform. It is hosted at `clr/opencl `_. -* ``rocclr`` - contains common 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 diff --git a/projects/hip/docs/understand/glossary.md b/projects/hip/docs/understand/glossary.md index 272acd4beb..c5c700f8e2 100644 --- a/projects/hip/docs/understand/glossary.md +++ b/projects/hip/docs/understand/glossary.md @@ -10,7 +10,7 @@ The default device can be set with `hipSetDevice`. * **HIP-Clang** - Heterogeneous AMDGPU Compiler, with its capability to compile HIP programs on AMD platform (https://github.com/RadeonOpenCompute/llvm-project). -* **clr** - a repository for AMD Common Language Runtime, contains source codes for AMD's compute languages runtimes: HIP and OpenCL. +* **clr** - a repository for AMD Compute Language Runtime, contains source codes for AMD's compute languages runtimes: HIP and OpenCL. clr (https://github.com/ROCm/clr) contains the following three parts, * `hipamd`: contains implementation of HIP language on AMD platform.