Skip to main content

kaio_core/
lib.rs

1//! # kaio-core
2//!
3//! PTX intermediate representation and code emission for the KAIO GPU
4//! kernel authoring framework. This crate provides the Layer 1 foundation:
5//! Rust types modelling PTX programs, instruction emitters, and a writer
6//! that renders valid `.ptx` text output.
7//!
8//! ## Modules
9//!
10//! - [`types`] — PTX type system and Rust-to-PTX type mapping
11//! - [`ir`] — Intermediate representation (modules, kernels, instructions)
12//! - [`instr`] — Instruction category enums (arithmetic, memory, control)
13//! - [`emit`] — PTX text emission (`Emit` trait + `PtxWriter`)
14
15#![warn(missing_docs)]
16
17pub mod emit;
18pub mod fragment;
19pub mod instr;
20pub mod ir;
21pub mod types;