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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
//!
//! ## Entry points
//!
//! | Step | Type | Module |
//! | --- | --- | --- |
//! | Build one backend per process | [`AlgeonGpuBackend`] | [`backend`] |
//! | Install it on a session builder | [`AlgeonGpuBackend::install_on`], [`AlgeonSessionStateBuilderExt`](session::AlgeonSessionStateBuilderExt) | [`session`] |
//! | Run one query | [`AlgeonAttempt`] | [`attempt`] |
//!
//! The backend builder fixes the device envelope at construction. Each
//! attempt plans and executes one query, then publishes a terminal report
//! through [`AlgeonAttempt::completion`]. Under
//! [`AlgeonGpuExecutionMode::NativeRequired`](planner::AlgeonGpuExecutionMode::NativeRequired)
//! the optimizer rejects a completed plan that still executes DataFusion CPU
//! operators.
//!
//! ## Other modules
//!
//! | Purpose | Modules |
//! | --- | --- |
//! | SQL table functions | [`cugraph_sql`], [`cuvs_sql`], [`cuml_sql`], [`gpu_functions`] |
//! | Reports and diagnostics | [`report`], [`native_report`], [`gpu_coverage`], [`observability`], [`build_info`] |
//! | Errors and reason codes | [`error`], [`capability`] |
//! | Plan structures exposed for tooling | [`planner`], [`native_exec`], [`source_cardinality`] |
//! | Flight SQL server, feature `server` | `server` |
//!
//! ## Features
//!
//! The table under Dependencies lists what each feature adds and the native
//! libraries it links. With a feature disabled:
//!
//! - `cugraph`: cuGraph table functions fail closed with a typed capability
//! error.
//! - `cuvs`, `cuml`: the SQL family stays discoverable and execution fails
//! before input staging.
//! - `nvml`: device telemetry reports `FeatureDisabled` for NVML and leaves
//! the NVML values `None`. CUDA telemetry, admission and memory accounting
//! do not change.
//! - `server`: the `server` module is absent.
//!
//! `bench-support` and `qualification` serve tooling in the Algeon repository.
//! The first adds application and test support outside the embedded and
//! server report contract; the second closes admission on one live device
//! ledger for the multi-GPU validation tool.
extern crate self as algeon_datafusion;
pub use ;
pub use ;