Skip to main content

softgpu_functional/
lib.rs

1//! SoftGPU Phase 6 functional execution (CPU).
2//!
3//! **Research gate (locked):** SoftGPU Functional IR (`softgpu-sfir-v1`) — an
4//! explicit, SoftGPU-owned IR with JSON fixtures and hand-translated provenance
5//! from tiny reference C sources. SoftGPU does **not** claim that arbitrary AMD
6//! code objects contain executable high-level IR, and does **not** claim gfx1201
7//! ISA emulation.
8//!
9//! See `docs/functional-path.md` and Article 7.
10
11pub mod error;
12pub mod exec;
13pub mod ir;
14pub mod kernels;
15pub mod memory;
16
17pub use error::{FunctionalError, Result};
18pub use exec::{run, run_with_budget, LaunchConfig, RunReport, FUNCTIONAL_MODE_MARKER};
19pub use ir::{load_program_path, load_program_str, Op, Program, TypeId, SFIR_SCHEMA};
20pub use memory::GlobalArena;
21
22/// Crate version.
23pub const VERSION: &str = env!("CARGO_PKG_VERSION");