Install Composable Kernel#
Before you begin, verify that your system is supported. For more information, see ROCm Core SDK components.
For advanced workflows, source builds, or custom configurations, see Build and install Composable Kernel from source.
Install the ROCm Core SDK#
Composable Kernel (CK) is included with the ROCm Core SDK on Linux and Windows. For the complete Core SDK installation, use the
amdrocm-core-sdk package. See Install AMD ROCm for more information.
Install the Composable Kernel package on Linux#
Alternatively, you can use the amdrocm-ck package to install Composable Kernel without the full ROCm Core SDK.
Complete the ROCm installation prerequisites to install dependencies and configure GPU access permissions.
Install the Composable Kernel package that matches your desired ROCm version. Package names use the following format:
amdrocm-ck<rocm_version>-<llvm_target>Where:
<rocm_version>is the ROCm Core SDK version to install. Omit this suffix to install the latest available version.<llvm_target>(starting withgfx) is used if you are installing for a single AMD GPU architecture. Omit this suffix to install for all architectures at the cost of disk space.
For example, to install the latest Composable Kernel development package release for supported GPU architectures:
sudo apt install amdrocm-ck<rocm_version>-<llvm_target>
sudo dnf install amdrocm-ck<rocm_version>-<llvm_target>
sudo zypper install amdrocm-ck<rocm_version>-<llvm_target>
Install a nightly build#
The TheRock build system also publishes nightly builds for the ROCm Core SDK and its components, including Composable Kernel. See Nightly release status for details.
Note
If you choose to install from a nightly build artifact, you’ll need to set HIP_PLATFORM=amd and LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/lib after installation.