rocm configure clang
当我们采用下面方式配置rocm3.9的环境变量
module load compiler/rocm/3.3
export | grep "rocm-3\.3" > tmp.sh
sed -i "s#/public/software/compiler/rocm/rocm-3.3.0#$HOME/rocm/rocm-3.9.0#g" tmp.sh
source tmp.sh
命令行输入clang然后按Tab 自动补全,会自动补全为clang-ocl,执行这个命令,会返回
clang-ocl: line 52: /opt/rocm-3.9.0/llvm/bin/clang: No such file or directory |