sim-lib-compute-wgpu 0.1.0

Evidence-based wgpu tensor compute site discovery for SIM.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# sim-lib-compute-wgpu

`sim-lib-compute-wgpu` discovers `wgpu` adapters and registers SIM tensor sites
only for adapters that pass device, transfer, mapping, and bounded allocation
probes. Adapter names and device ids are diagnostic evidence, not stable SIM
identity.

The exported site runs portable f32 element-wise arithmetic, transcendentals
(`sqrt`, `exp`, `sin`, and `cos`), fixed-tree `sum`/`min`/`max`/`norm`
reductions, `transpose`, `dot`, and tiled `matmul` over bounded resident
segments. Native f16 is selected only when shader f16 was granted by the
adapter; bf16 and unsupported half paths widen to f32. Validated pipelines are
cached by adapter, operation, dtype strategy, rank, and the tile profile selected
from granted limits.

The crate also exposes reusable arena, segment, transfer, queue, pipeline-cache,
and materialization planning types so later kernels share the same bounded
resident submission contract.