From 42f9b798115fc0f290e86e6122ac58fd8f2eb67d Mon Sep 17 00:00:00 2001 From: Olivier Chafik Date: Mon, 29 Apr 2024 16:50:27 +0100 Subject: [PATCH] build: nit / remove -H from cmake example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3b6aaad4c..f5a863567 100644 --- a/README.md +++ b/README.md @@ -526,7 +526,7 @@ Building the program with BLAS support may lead to some performance improvements - Using `CMake` for Linux (assuming a gfx1030-compatible AMD GPU): ```bash CC=/opt/rocm/llvm/bin/clang CXX=/opt/rocm/llvm/bin/clang++ \ - cmake -H. -Bbuild -DLLAMA_HIPBLAS=ON -DAMDGPU_TARGETS=gfx1030 -DCMAKE_BUILD_TYPE=Release \ + cmake -B build -DLLAMA_HIPBLAS=ON -DAMDGPU_TARGETS=gfx1030 -DCMAKE_BUILD_TYPE=Release \ && cmake --build build --config Release -- -j 16 ``` On Linux it is also possible to use unified memory architecture (UMA) to share main memory between the CPU and integrated GPU by setting `-DLLAMA_HIP_UMA=ON"`.