Tutorials¶
A collection of tutorials covering how to use and modify the vkdispatch library.
- Code Structure and Execution Flow
- Initialization and Context Creation
- Buffer Creation and Usage
- Shader Authoring and Dispatch
- Runtime Generation Model
- Default Runtime-Coupled Generation
- Imports and Type Annotations
- Basic In-Place Kernel
- Launch Configuration
- Symbolic Expressions vs Mutable Registers
- Register Store Syntax (
[:]) - Shader Control Flow vs Python Control Flow
- Generation-Time Specialization (Meta-Programming)
- Mapping Functions
- Inspecting Generated Shader Source
- Common Notes
- Shader API Reference
- Command Graph Recording
- Data Types Overview
- Reductions and FFT Workflows
- FFT Subsystem Overview
- Reduction Basics
- Mapped Reductions
- FFT with
vd.fft - Axis and Dimensionality
- Fusion with
kernel_map(Frequency-Domain In-Register Ops) - Input/Output Mapping for Padded or Sparse Regions
- Transposed Kernel Path for 2D Convolution
- Low-Level Procedural FFT Generation with
fft_context - FFT with
vd.vkfft - Convolution Helpers
- Reduction and FFT API Reference
- Images and Sampling
- Logging Overview
- Building from Source