Expand description
GPU integration for calculus modality.
Provides cross-platform GPU compute shader execution for numerical integration
and differential equation solving via portable wgpu (Vulkan / DX12 / Metal /
WebGPU). The engine is vendor-neutral: there is no CUDA/cuFile path. The
former NVIDIA GPUDirect-Storage bridge was removed; heterogeneous dispatch,
mixed-precision policy, and the vendor-neutral storage path (mmap + staging
upload) live in super::hetero_dispatch.
§Architecture
- WebGPU (
wgpu): portable compute on every backend; the single GPU path. - Storage: NVMe → OS page cache (
mmap,super::host) → GPU staging upload. (NVIDIA GDS’s true NVMe→VRAM DMA was deliberately declined — vendor-lock off the affordability critical path; seehetero_dispatch.rs.) - State Tracking: GPU results packed into Quin metadata field.
Re-exports§
pub use WebGpuIntegrator as PlatformGpuIntegrator;
Structs§
- WebGpu
Integrator - WebGPU-based GPU integrator (cross-platform fallback).
Enums§
Traits§
- GpuIntegrator
- Platform-agnostic GPU integration interface.
Functions§
- create_
gpu_ job_ quin - Creates a suspended Quin for GPU computation.
- extract_
gpu_ result_ from_ quin - Extracts GPU computation result from Quin metadata field.
- pack_
gpu_ result_ into_ quin - Packs GPU computation result into Quin metadata field.