Skip to main content

wave_runtime/
lib.rs

1// Copyright 2026 Ojima Abraham
2// SPDX-License-Identifier: Apache-2.0
3
4//! WAVE runtime: shared core for all WAVE SDKs.
5//!
6//! Provides the complete pipeline from kernel source code to GPU execution:
7//! compilation, backend translation, device detection, memory management,
8//! and kernel launch. Used by the Python, Rust, C/C++, and JavaScript SDKs.
9
10#![allow(
11    clippy::missing_errors_doc,
12    clippy::missing_panics_doc,
13    clippy::module_name_repetitions,
14    clippy::must_use_candidate,
15    clippy::too_many_arguments,
16    clippy::too_many_lines,
17    clippy::needless_pass_by_value
18)]
19
20pub mod backend;
21pub mod compiler;
22pub mod device;
23pub mod error;
24pub mod launcher;
25pub mod memory;
26
27pub use backend::translate_to_vendor;
28pub use compiler::{compile_kernel, compile_kernel_with_config};
29pub use device::{detect_gpu, Device, GpuVendor};
30pub use error::RuntimeError;
31pub use launcher::launch_kernel;
32pub use memory::{DeviceBuffer, ElementType};
33
34pub use wave_compiler::Language;