hipCUB installation overview

hipCUB installation overview#

The hipCUB source code is available from the ROCm libraries GitHub Repository. Use sparse checkout when cloning the hipCUB project:

git clone --no-checkout --filter=blob:none https://github.com/ROCm/rocm-libraries.git
cd rocm-libraries
git sparse-checkout init --cone
git sparse-checkout set projects/hipcub

Then use git checkout to check out the branch you need.

The develop branch is the default branch. The develop branch is intended for users who want to preview new features or contribute to the hipCUB code base.

If you don’t intend to contribute to the hipCUB code base and won’t be previewing features, use a branch that matches the version of ROCm installed on your system.

hipCUB can be built and installed with rmake.py on Windows, or CMake on both Windows and Linux.

CMake provides the most flexibility in building and installing hipCUB.