diff --git a/README.md b/README.md index 9c9e36ad0..379cccbbf 100644 --- a/README.md +++ b/README.md @@ -419,8 +419,8 @@ Building the program with BLAS support may lead to some performance improvements ```bash mkdir build cd build - CC=/opt/rocm/llvm/bin/clang CXX=/opt/rocm/llvm/bin/clang++ cmake .. -DLLAMA_HIPBLAS=ON - cmake --build . + CC=/opt/rocm/llvm/bin/clang CXX=/opt/rocm/llvm/bin/clang++ cmake .. -DLLAMA_HIPBLAS=ON -DAMDGPU_TARGETS=native + cmake --build . --config Release ``` The environment variable [`HIP_VISIBLE_DEVICES`](https://rocm.docs.amd.com/en/latest/understand/gpu_isolation.html#hip-visible-devices) can be used to specify which GPU(s) will be used.