ruda_tensor_device/
lib.rs1#![warn(missing_docs)]
2#![cfg_attr(docsrs, feature(doc_cfg))]
3
4#[macro_use]
7extern crate derive_new;
8extern crate alloc;
9
10pub mod dispatch;
12pub mod element;
14mod backend;
15mod runtime;
16
17pub use backend::DeviceBackend;
18pub use runtime::DeviceRuntime;
19pub use element::{BoolElement, TensorElement, FloatElement, IntElement};
20pub use ruda_kernel::tensor::RudaTensor;
21
22#[cfg(feature = "fusion")]
23pub mod fusion;
25
26#[cfg(feature = "cuda")]
28pub mod cuda;