Documentation Corpus
Thewafer corpus command manages local copies of GPU programming documentation. Download documentation for offline access and use with the AI agent.
Quick Start
Commands
wafer corpus list
List available documentation corpora:wafer corpus download
Download a documentation corpus:| Option | Description |
|---|---|
--force | Re-download even if already present |
--version | Specific version to download |
wafer corpus sync
Sync corpus to latest version:wafer corpus path
Get the local filesystem path:- Pointing other tools at the docs
- Manual browsing
- Custom indexing
Available Corpora
cuda
NVIDIA CUDA documentation:- CUDA C++ Programming Guide
- CUDA Best Practices Guide
- CUDA Runtime API Reference
- PTX ISA Reference
- cuBLAS, cuDNN, cuFFT documentation
cutlass
NVIDIA CUTLASS library:- CUTLASS User Guide
- CUTE (CuTe) Tutorial
- Kernel examples
- Performance optimization guides
hip
AMD HIP documentation:- HIP Programming Guide
- HIP API Reference
- CUDA to HIP porting guide
- hipBLAS, hipFFT documentation
amd
AMD ROCm ecosystem:- ROCm Installation Guide
- AMD GPU Architecture
- ROCprofiler documentation
- Optimization guides
triton
OpenAI Triton:- Triton Language Reference
- Tutorial notebooks
- Kernel examples
- Best practices
Using with the Agent
The AI agent can search documentation corpora:Storage Location
Corpora are stored in:| Platform | Location |
|---|---|
| macOS | ~/.wafer/corpora/ |
| Linux | ~/.wafer/corpora/ |
| Windows | %USERPROFILE%\.wafer\corpora\ |