pub mod cpu;
pub mod device;
pub mod kernels;
pub mod modules;
pub mod ops;
pub mod tensor;
#[cfg(feature = "metal")]
pub mod metal;
#[cfg(feature = "cuda")]
pub mod cuda;
pub use cpu::CpuDevice;
pub use device::{ComputeBuffer, ComputeDevice};
pub use crate::expr::codegen::Dialect;
pub use modules::{
Embedding, EmbeddingCache, InterleavedRoPE, KVCache, Linear, LinearCache,
RMSNorm, RMSNormCache,
};
pub use ops::{add_tensors, bias_add, causal_attention_backward, swiglu_backward, swiglu_fused};
pub use tensor::ComputeTensor;
#[cfg(feature = "metal")]
pub use metal::MetalDevice;
#[cfg(feature = "cuda")]
pub use cuda::CudaComputeDevice;