kaio-macros 0.4.1

Proc macro crate for KAIO — provides #[gpu_kernel] attribute macro.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Kernel-level intermediate representation.
//!
//! Types that bridge `syn`'s AST to the generated `kaio-core` API calls.
//! Internal to the macro crate.

pub mod expr;
pub mod stmt;
pub mod types;

// Re-exports for convenience within the crate.
#[allow(unused_imports)]
pub use expr::{BinOpKind, KernelExpr, UnaryOpKind};
#[allow(unused_imports)]
pub use stmt::KernelStmt;
pub use types::{KernelConfig, KernelParam, KernelSignature, KernelType};