Skip to main content

ferrum_runtime/backends/
mod.rs

1//! Backend implementations for different compute devices
2
3#[cfg(feature = "candle")]
4pub mod candle;
5
6#[cfg(feature = "candle")]
7pub mod candle_kernel_ops;
8
9#[cfg(feature = "cpu")]
10pub mod cpu;
11
12// Re-export backend implementations
13#[cfg(feature = "candle")]
14pub use self::candle::*;
15
16#[cfg(feature = "candle")]
17pub use self::candle_kernel_ops::CandleKernelOps;
18
19#[cfg(feature = "cpu")]
20pub use self::cpu::*;