Skip to content

Commit

Permalink
readme : use PATH for Windows ROCm (#4195)
Browse files Browse the repository at this point in the history
* Update README.md to use PATH for Windows ROCm

* Update README.md

* Update README.md
  • Loading branch information
jammm authored Nov 24, 2023
1 parent 55978ce commit b35f3d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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++ ..
Expand Down

0 comments on commit b35f3d0

Please sign in to comment.