Skip to main content

Crate vyre_wgpu

Crate vyre_wgpu 

Source
Expand description

§vyre-wgpu — wgpu backend for the vyre GPU compute specification

Implements vyre::VyreBackend on wgpu::Device + wgpu::Queue. Owns the GPU runtime: device acquisition, buffer pool, pipeline cache, shader compilation, and dispatch. Consumers call WgpuBackend::dispatch(&program, &inputs, &config); lowering to WGSL happens inside this crate.

This crate has exactly one responsibility: run a vyre IR Program on wgpu. Every other concern — IR construction, algebraic law verification, certificate generation — lives in a sibling crate.

Modules§

engine
wgpu-backed host engines and runtime glue. Layer 3 complete compute engines.
runtime
wgpu runtime: devices, queues, buffers, shaders, and cache management. Layer 0 GPU runtime: device, buffers, shader compilation, and dispatch.