Skip to content

Contributing: Getting Started

Zachary Vincze edited this page May 27, 2026 · 2 revisions

Getting Started

A 5-minute path from clone to a working build.

Prerequisites

Requirement Version
OS Linux (Ubuntu 22.04+ recommended)
ROCm ≥ 7.0
Compiler AMD Clang (ships with ROCm)
C++ standard C++20
GPU gfx908 or newer
CMake ≥ 3.20
Python ≥ 3.8 (for bindings)

Check your setup:

rocminfo | grep gfx        # confirm GPU arch
amdclang++ --version            # confirm AMD Clang

Clone

git clone https://github.com/ROCm/rocCV.git
cd rocCV

Branch from develop, not main:

git checkout develop
git checkout -b <your-name>/<feature>

Build

mkdir build && cd build
cmake ../
cmake --build . --parallel

That's it. Library lands in build/lib/, Python module in build/lib/rocpycv*.so.

Verify It Works

export PYTHONPATH=$PWD/lib:$PYTHONPATH
python3 -c "import rocpycv; print(rocpycv.__doc__)"

Next Steps

Clone this wiki locally