Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 402 Bytes

FEATURE_FLAGS.md

File metadata and controls

13 lines (10 loc) · 402 Bytes

Feature flags

diffusion-rs controls building with GPU support or CPU SIMD acceleration with feature flags.

These are set at compile time and are as follows:

Feature Flag
Nvidia GPUs (CUDA) --features cuda
Apple Silicon GPUs (Metal) --features metal
Apple Accelerate (CPU) --features accelerate
Intel MKL (CPU) --features mkl
Use AVX or NEON automatically None specified