tpt-gpu-primitives
TPT Primitives — TPTIR kernel wrappers and vendor library integration for the TPT GPU stack.
Overview
tpt-gpu-primitives provides the host-side Rust wrappers for GPU primitive kernels (GEMM, Attention, Conv2D) expressed in TPTIR. It routes dispatch to the available backend: CUDA, ROCm, Metal, or the pure TPTIR software path.
Features
cuda— Enable CUDA vendor backendrocm— Enable ROCm vendor backendmetal— Enable Metal vendor backendtptir-backend— Enable TPTIR compiler backend (requireslibtptcat link time)sim— Simulation mode for CI / testing without hardware
Usage
[]
= "1.0"
License
Dual-licensed under MIT or Apache 2.0 WITH LLVM-exception. See LICENSE-MIT / LICENSE-APACHE for details.