LocalAI/backend/go/image
Richard Palethorpe f521aa7e4c feat(sycl): Enable SYCL for stable diffusion
This is a pain because we compile with CGO, but SD is compiled with
CMake. I don't think we can easily use CMake to set the linker flags
necessary. Also I could not find pkg-config calls that would fully set
the flags, so some of them are set manually.

See https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-link-line-advisor.html
for reference. I also resorted to searching the shared object files in
MKLROOT/lib for the symbols.

Signed-off-by: Richard Palethorpe <io@richiejp.com>
2025-04-09 14:50:52 +01:00
..
stablediffusion-ggml feat(sycl): Enable SYCL for stable diffusion 2025-04-09 14:50:52 +01:00