Splitting the features to enable different mkl linking.

This commit is contained in:
Nicolas Patry
2025-03-28 10:13:13 +01:00
parent cb02b389d5
commit 9862cd3ba2
23 changed files with 42 additions and 40 deletions

View File

@ -45,7 +45,8 @@ criterion = { workspace = true }
default = []
cuda = ["cudarc", "dep:candle-kernels", "dep:ug-cuda"]
cudnn = ["cuda", "cudarc/cudnn"]
mkl = ["dep:libc", "dep:intel-mkl-src"]
_mkl = ["dep:libc", "dep:intel-mkl-src"]
mkl = ["_mkl", "intel-mkl-src?/mkl-static-lp64-iomp"]
accelerate = ["dep:libc", "dep:accelerate-src"]
metal = ["dep:metal", "dep:candle-metal-kernels", "dep:ug-metal"]