Files
clawhdf5/crates/clawhdf5-gpu
osobhandClaude Fable 5.1 706189c3ef fix(gpu): stop gpu_tests hanging under the parallel test runner
Every test created its own wgpu instance and device (with adapter-maximum
limits) concurrently, which could wedge the driver and hang the suite
indefinitely. Tests now hold a process-wide lock while they own a device, and
GpuAccelerator readback waits are bounded at 30s so a stuck driver surfaces as
GpuError::BufferMap instead of blocking forever.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-09-19 05:36:22 -07:00
..

clawhdf5-gpu

crates.io docs.rs

GPU-accelerated vector operations for clawhdf5 using wgpu compute shaders.

Features

  • GPU-accelerated distance computations (L2, cosine)
  • wgpu-based compute shaders for cross-platform GPU support
  • Float16 support via half crate

Usage

use clawhdf5_gpu::GpuAccelerator;

let accel = GpuAccelerator::new().unwrap();
let distances = accel.l2_distances(&query, &vectors).unwrap();

License

MIT