1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//! Shared type vocabulary for the baracuda CUDA stack.
//!
//! This crate contains only pure-data types — no I/O, no `libloading`, no
//! runtime machinery. It's intended to be a cheap dependency for any crate
//! (including user-authored CUDA wrappers) that wants to speak baracuda's
//! type vocabulary without pulling in the loader infrastructure.
//!
//! # Modules
//!
//! - [`numeric`] — [`Half`], [`BFloat16`], [`Complex32`], [`Complex64`].
//! - [`device_repr`] — the [`DeviceRepr`] trait marking ABI-stable types.
//! - [`kernel_arg`] — the [`KernelArg`] trait for marshalling kernel arguments.
//! - [`version`] — [`CudaVersion`] and the [`Feature`] enum with [`supports`].
//! - [`status`] — the [`CudaStatus`] trait every library's status enum implements.
//! - [`stream_mode`] — the [`StreamMode`] enum (Legacy vs PerThread default streams).
pub use DeviceRepr;
pub use HostSlice;
pub use KernelArg;
pub use ;
pub use CudaStatus;
pub use StreamMode;
pub use ;
pub use ValidAsZeroBits;
/// `#[derive(DeviceRepr)]` — attribute macro re-exported from
/// `baracuda-types-derive` when the `derive` feature is enabled.
pub use DeviceRepr;