Skip to content

Commit 9390da9

Browse files
committed
Small fix to documentation style
1 parent 980c96d commit 9390da9

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

docs/backend/SYCL.md

+4-8
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ You have two options to use Visual Studio to build llama.cpp:
549549

550550
All following commands are executed in PowerShell.
551551

552-
###### - Open as a CMake Project
552+
##### - Open as a CMake Project
553553

554554
You can use Visual Studio to open the `llama.cpp` folder directly as a CMake project. Before compiling, select one of the SYCL CMake presets:
555555

@@ -564,20 +564,16 @@ You can use Visual Studio to open the `llama.cpp` folder directly as a CMake pro
564564
cmake --build build --config Release -j --target llama-cli
565565
```
566566
567-
###### - Generating a Visual Studio Solution
567+
##### - Generating a Visual Studio Solution
568568
569569
You can use Visual Studio solution to build and work on llama.cpp on Windows. You need to convert the CMake Project into a `.sln` file.
570570
571-
- Using Intel C++ Compiler for the Entire Project
572-
573571
If you want to use the Intel C++ Compiler for the entire `llama.cpp` project, run the following command:
574572
575573
```Powershell
576574
cmake -B build -G "Visual Studio 17 2022" -T "Intel C++ Compiler 2025" -A x64 -DGGML_SYCL=ON -DCMAKE_BUILD_TYPE=Release
577575
```
578576

579-
- Using Intel C++ Compiler Only for ggml-sycl
580-
581577
If you prefer to use the Intel C++ Compiler only for `ggml-sycl`, ensure that `ggml` and its backend libraries are built as shared libraries ( i.e. `-DBUILD_SHARED_LIBRARIES=ON`, this is default behaviour):
582578

583579
```Powershell
@@ -616,9 +612,9 @@ Once it is completed, final results will be in **build/Release/bin**
616612

617613
- You can avoid specifying `SYCL_INCLUDE_DIR` and `SYCL_LIBRARY_DIR` in the CMake command by setting the environment variables:
618614

619-
- `SYCL_INCLUDE_DIR_HINT`
615+
- `SYCL_INCLUDE_DIR_HINT`
620616

621-
- `SYCL_LIBRARY_DIR_HINT`
617+
- `SYCL_LIBRARY_DIR_HINT`
622618

623619
- Above instruction has been tested with Visual Studio 17 Community edition and oneAPI 2025.0. We expect them to work also with future version if the instructions are adapted accordingly.
624620

0 commit comments

Comments
 (0)