mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-26 23:29:53 +00:00
docs: add build directory creation to SYCL build instructions (#2352)
This commit is contained in:
parent
ca4e755dfa
commit
f7120ceb36
1 changed files with 3 additions and 0 deletions
|
|
@ -324,6 +324,9 @@ Using SYCL makes the computation run on the Intel GPU. Please make sure you have
|
|||
# Export relevant ENV variables
|
||||
source /opt/intel/oneapi/setvars.sh
|
||||
|
||||
# Make and enter build dir
|
||||
mkdir build && cd build
|
||||
|
||||
# Option 1: Use FP32 (recommended for better performance in most cases)
|
||||
cmake .. -DSD_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue