The hipCUB repository is retired, please use the ROCm/rocm-libraries repository
hipCUB is a thin wrapper library on top of rocPRIM or CUB. You can use it to port a CUB project into HIP so you can use AMD hardware (and ROCm software).
In the ROCm environment, hipCUB uses the rocPRIM library as the backend. On CUDA platforms, it uses CUB as the backend.
- Git
- CMake (3.16 or later)
- For AMD GPUs:
- For NVIDIA GPUs:
- CUDA Toolkit
- CCCL library (>= 2.7.0)
- Automatically downloaded and built by the CMake script
- Requires CMake 3.15.0 or later
- Python 3.6 or higher (for HIP on Windows only; this is only required for install scripts)
- Visual Studio 2019 with Clang support (HIP on Windows only)
- Strawberry Perl (HIP on Windows only)
Optional:
GoogleTest and Google Benchmark are automatically downloaded and built by the CMake script.
Note
The published hipCUB documentation is available here in an organized, easy-to-read format, with search and a table of contents. The documentation source files reside in the docs
folder of this repository. As with all ROCm projects, the documentation is open source. For more information on contributing to the documentation, see Contribute to ROCm documentation.