Skip to main content

Crate sim_lib_compute_wgpu

Crate sim_lib_compute_wgpu 

Source
Expand description

Evidence-based wgpu tensor compute site discovery.

This crate discovers physical adapters deterministically, requests a bounded device profile, records granted limits and features, and exports SIM tensor sites only for adapters that pass transfer, mapping, and allocation probes.

Structs§

AllocationAttempt
One bounded allocation attempt.
ComputeWgpuLib
Loadable library that registers only successful wgpu adapter sites.
ProbeEvidence
Probe evidence required before a site is exported.
ProbePolicy
Bounded probe policy.
RequestedWgpuProfile
Requested limits and optional features passed to wgpu.
TransferEvidence
Transfer and mapping probe evidence.
WgpuAdapterEvidence
Adapter identity and requested/granted capability evidence.
WgpuAdapterProbe
One successful adapter probe.
WgpuAllocationId
Opaque resident allocation id inside a planned wgpu arena.
WgpuArenaAllocation
Allocation record returned by the arena.
WgpuArenaSnapshot
Snapshot of resident arena pressure.
WgpuCapabilityEvidence
Feature evidence recorded from a granted device.
WgpuDiscovery
Complete discovery result.
WgpuDiscoveryError
Discovery failure for infrastructure-level probe setup.
WgpuLimitEvidence
Limits recorded from either the requested or granted device contract.
WgpuMaterializationCache
Caches exactly one synchronized host materialization result.
WgpuPipelineCache
Small FIFO cache for validated pipelines.
WgpuPipelineCacheSnapshot
Snapshot of cache pressure and reuse.
WgpuPipelineKey
Cache key for a validated portable pipeline.
WgpuPipelineRecord
Validated pipeline evidence retained in the cache.
WgpuQueueLimits
Queue bounds for resident tensor submissions.
WgpuQueueSnapshot
Snapshot of queued wgpu tensor submissions.
WgpuResidentArena
Bounded resident arena with oldest-first eviction.
WgpuResidentSegment
One contiguous resident buffer segment.
WgpuResidentStorage
Resident storage that records a validated wgpu pipeline result.
WgpuSegmentPlan
Checked segment plan for a tensor payload.
WgpuSubmissionQueue
Deterministic bounded queue used before command submission.
WgpuTensorExecutor
Tensor executor descriptor backed by a successful wgpu probe.
WgpuTileProfile
Portable tile profile selected from granted adapter limits.
WgpuTransferPlan
Planned transfer spans for a segment plan.
WgpuTransferSpan
One host-to-device or device-to-host copy span.

Enums§

WgpuKernelDType
Dtype strategy selected for a portable kernel.
WgpuKernelOp
Portable operation implemented by a wgpu tensor kernel.

Statics§

RECIPES
Cookbook recipes for this lib, embedded at build time.

Functions§

compute_wgpu_capability
Capability required before a wgpu hardware tensor site can be realized.
compute_wgpu_lib_symbol
Stable symbol for the wgpu runtime library.
compute_wgpu_site_symbol
Site symbol exported for a successful wgpu adapter.
discover_wgpu_adapters
Enumerates adapters and returns only probe-backed site candidates.
wgpu_executor_symbol
Stable symbol for a wgpu tensor executor.