Skip to main content

Crate forgellm_codegen_gpu

Crate forgellm_codegen_gpu 

Source
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§

GpuCodegenError
Errors during GPU code generation.

Functions§

generate_gpu_project
Generate a complete GPU Cargo project from a computation graph.