Don't hardcode /opt/rocm in CMakeLists.txt
suranap opened this issue · comments
Pinku Surana commented
Most HPC systems use Environment Modules to load libraries. Therefore, the ROCm libraries are loaded explicitly by version: module load rocm/5.6.0
. On the systems I've used ROCM_PATH is defined as /opt/rocm-5.6.0
. I'd suggest changing these lines to ${ROCM_SOURCE _DIR}/lib
.
kineto/libkineto/CMakeLists.txt
Lines 193 to 195 in 490f305
Aaron Shi commented
sraikund16 commented
Fixed in #912