summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaryaman Vasishta <aaryaman.vasishta@amd.com>2023-11-24 16:52:39 +0900
committerGitHub <noreply@github.com>2023-11-24 09:52:39 +0200
commitb35f3d0def3efde92ed465d92a267430d957e87d (patch)
tree3adbebe313f221aa12eaf321257e557004908c25
parent55978ce09b69d3987d17d08d92d8cc27193e0773 (diff)
readme : use PATH for Windows ROCm (#4195)
* Update README.md to use PATH for Windows ROCm * Update README.md * Update README.md
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 276461f8..5189e125 100644
--- a/README.md
+++ b/README.md
@@ -422,8 +422,9 @@ Building the program with BLAS support may lead to some performance improvements
CC=/opt/rocm/llvm/bin/clang CXX=/opt/rocm/llvm/bin/clang++ cmake .. -DLLAMA_HIPBLAS=ON
cmake --build .
```
- - Using `CMake` for Windows:
+ - Using `CMake` for Windows (using x64 Native Tools Command Prompt for VS):
```bash
+ set PATH=%HIP_PATH%\bin;%PATH%
mkdir build
cd build
cmake -G Ninja -DAMDGPU_TARGETS=gfx1100 -DLLAMA_HIPBLAS=ON -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ ..