mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-25 05:48:47 +01:00
readme : use PATH for Windows ROCm (#4195)
* Update README.md to use PATH for Windows ROCm * Update README.md * Update README.md
This commit is contained in:
parent
55978ce09b
commit
b35f3d0def
@ -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
|
CC=/opt/rocm/llvm/bin/clang CXX=/opt/rocm/llvm/bin/clang++ cmake .. -DLLAMA_HIPBLAS=ON
|
||||||
cmake --build .
|
cmake --build .
|
||||||
```
|
```
|
||||||
- Using `CMake` for Windows:
|
- Using `CMake` for Windows (using x64 Native Tools Command Prompt for VS):
|
||||||
```bash
|
```bash
|
||||||
|
set PATH=%HIP_PATH%\bin;%PATH%
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake -G Ninja -DAMDGPU_TARGETS=gfx1100 -DLLAMA_HIPBLAS=ON -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ ..
|
cmake -G Ninja -DAMDGPU_TARGETS=gfx1100 -DLLAMA_HIPBLAS=ON -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ ..
|
||||||
|
Loading…
Reference in New Issue
Block a user