Skip to main content

tfhe_hpu_backend/
prelude.rs

1/// Load entities and type related stuff
2pub use super::entities::*;
3
4/// Export Hw_hpu for asm definition
5pub use super::asm as hpu_asm;
6
7/// Export hw_regmap.
8/// Prevent version mismatch between user code and backend
9pub use hw_regmap as hpu_regmap;
10
11/// Load Hw-interface stuff
12pub use super::interface::{
13    page_align, BoardConfig, FFIMode, HpuCmd, HpuConfig, HpuDevice, HpuError, HpuImm,
14    HpuVarWrapped, QueueConfig, ShellString, UcoreConfig, ACKQ_EMPTY, FW_RUNTIME_MAX_WORD,
15};
16
17#[cfg(feature = "utils")]
18/// Load parser utility
19pub use super::isc_trace;
20
21#[cfg(feature = "io-dump")]
22/// Expose io_dump init function
23pub use super::interface::io_dump::set_hpu_io_dump;
24
25#[cfg(not(feature = "hw-v80"))]
26/// Expose simulation interface
27pub use super::ffi::MemKind;