nod-ai / TheRock

The HIP Environment and ROCm Kit - A lightweight open source build system for HIP and ROCm
Apache License 2.0
5 stars 2 forks source link

Refactor and add RCCL #11

Closed sogartar closed 4 months ago

sogartar commented 4 months ago

This drives adding hipcc, hipify, rocm-smi and rocminfo. hipcc is very particular where things like bitcodes and rocm_agent_enumerator should be. This necessitates merging the dynamic and dev/compiler staging directories. We need to run hipcc from the staging directory during building of rccl.

Move rocm-cmake as separate project. LLVM references it.

Make sure that subprojects do not reference other rocm stuff in default paths like /opt/rocm. This seems to be generally done by setting ROCM_PATH. We must the cautious if adding more parts of rocm to avoid contamination with existing installations.

Use our repo tool manifest url as a default. When fetching sources do not set LLVM to the amd-staging, but let the manifest handle it.