Skip to content

Commit aea71dd

Browse files
authored
fix(stablediffusion-ggml): correctly enable sycl (#4591)
Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent 9fdb443 commit aea71dd

File tree

1 file changed

+2
-2
lines changed
  • backend/go/image/stablediffusion-ggml

1 file changed

+2
-2
lines changed

backend/go/image/stablediffusion-ggml/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ else ifeq ($(OS),Darwin)
3636
endif
3737

3838
ifeq ($(BUILD_TYPE),sycl_f16)
39-
CMAKE_ARGS+=-DGGML_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -DGGML_SYCL_F16=ON
39+
CMAKE_ARGS+=-DGGML_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -DGGML_SYCL_F16=ON -DSD_SYCL=ON -DGGML_SYCL_F16=ON
4040
endif
4141

4242
ifeq ($(BUILD_TYPE),sycl_f32)
43-
CMAKE_ARGS+=-DGGML_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx
43+
CMAKE_ARGS+=-DGGML_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -DSD_SYCL=ON
4444
endif
4545

4646
# warnings

0 commit comments

Comments
 (0)