Skip to main content

Module dispatch

Module dispatch 

Source
Expand description

Dispatch vision ops to CPU oracle (always) or GPU when feature lands (A1/A2).

A2: same report surface for resize / conv / pool. Forge/shared_gpu path is feature-gated; without an adapter the CPU oracle runs with degraded.

Structs§

VisionComputeReport

Enums§

VisionComputeDevice
Device that executed the op.

Functions§

avg_pool2d_dispatch
Avg-pool dispatch wrapping the CPU oracle.
conv2d_nchw_dispatch
Conv2d NCHW dispatch (CPU oracle; GPU when A2 Forge lands).
max_pool2d_dispatch
Max-pool dispatch wrapping the CPU oracle.
resize_nearest_nchw_dispatch
Prefer GPU when prefer_gpu: try Forge Resize2d on shared_gpu, else CPU.