Expand description
CubeCL WebGPU provider runtime and backend skeleton.
Structs§
- Apple
Context - Explicit Apple shared-allocation context for CPU and Metal backends.
- Apple
Transfer Stats - Explicit host/device transfer counters for one
AppleContext. - WebGpu
Backend - WebGpu
Runtime - CubeCL WebGPU runtime wrapper.
- WebGpu
Runtime Identity - Opaque identity of one exact WebGPU runtime instance.
Functions§
- download_
webgpu_ tensor - Download a CubeCL-managed WebGPU tensor back to host memory.
- upload_
webgpu_ tensor - Upload a host tensor into a CubeCL-managed WebGPU allocation.
- webgpu_
available - Returns
trueif a WebGPU adapter is available for CubeCL. - webgpu_
runtime_ engine_ id - Return the canonical WebGPU runtime engine identifier.
- webgpu_
runtime_ engine_ registration - Build a runtime engine registration for a
WebGpuBackend. - webgpu_
runtime_ engine_ registration_ with_ id - Build a WebGPU runtime engine registration with a caller-selected engine ID.
- webgpu_
runtime_ hardware_ class - Return the canonical WebGPU runtime hardware class.