Skip to main content

HOST_CAPABILITY_SLICES

Constant HOST_CAPABILITY_SLICES 

Source
pub const HOST_CAPABILITY_SLICES: &[(&str, u16)];
Expand description

The capability slices this host implements, for load-time negotiation.

A guest algorithm’s declared SliceReqs are checked against this table when it loads. Today the host implements only graph-compute@1; a future slice (e.g. tensor-compute@1) is added here in lockstep with its kernels so negotiation stays a pure lookup (proposal §4.3 / §10).