SWDEV-497324 - Rename CLR as Compute Language Runtime
Change-Id: I5cbb8ca5745c77ae877101ac76921e59dd221dee
[ROCm/hip commit: 5f70ceb5e5]
Этот коммит содержится в:
коммит произвёл
Julia Jiang
родитель
17ca12c039
Коммит
080687ffdc
@@ -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.
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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™ <https://www.khronos.org/opencl/>`_ on AMD platform. It is hosted at `clr/opencl <https://github.com/ROCm/clr/tree/develop/opencl>`_.
|
||||
|
||||
* ``rocclr`` - contains common runtime used in `HIP` and `OpenCL™`. This is hosted at `clr/rocclr <https://github.com/ROCm/clr/tree/develop/rocclr>`_.
|
||||
* ``rocclr`` - contains ROCm compute runtime used in `HIP` and `OpenCL™`. This is hosted at `clr/rocclr <https://github.com/ROCm/clr/tree/develop/rocclr>`_.
|
||||
|
||||
|
||||
How to build/install
|
||||
|
||||
@@ -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.
|
||||
|
||||
Ссылка в новой задаче
Block a user