Expand description
Forge GPU Code Generation — WGSL compute shader emission.
Generates a complete Cargo project that runs GPU inference via wgpu (Vulkan, Metal, DX12, WebGPU). The project embeds WGSL compute shaders as string constants and uses wgpu to dispatch them at runtime.
Enums§
- GpuCodegen
Error - Errors during GPU code generation.
Functions§
- generate_
gpu_ project - Generate a complete GPU Cargo project from a computation graph.