1pub mod error;
7pub mod traits;
8pub mod types;
9
10pub use error::{HiveGpuError, Result};
12pub use traits::{
13 BufferPoolStats, BufferType, GpuBackend, GpuBuffer, GpuBufferManager, GpuContext, GpuMonitor,
14 GpuVectorStorage, VramBufferInfo, VramStats,
15};
16pub use types::{
17 GpuCapabilities, GpuDeviceInfo, GpuDistanceMetric, GpuMemoryStats, GpuSearchResult, GpuVector,
18 HnswConfig, IvfConfig, VectorMetadata,
19};
20
21#[cfg(all(target_os = "macos", feature = "metal-native"))]
23pub mod metal;
24
25#[cfg(feature = "cuda")]
26pub mod cuda;
27
28#[cfg(all(feature = "rocm", target_os = "linux"))]
29pub mod rocm;
30
31#[cfg(all(feature = "intel", any(target_os = "linux", target_os = "windows")))]
32pub mod intel;
33
34pub mod backends;
36
37pub mod monitoring;
39
40pub mod shaders;
42
43pub mod utils;
45
46pub const VERSION: &str = env!("CARGO_PKG_VERSION");
48
49