Skip to main content

Crate tenferro_scalar_consumer_application

Crate tenferro_scalar_consumer_application 

Source
Expand description

The final application role of the external-scalar consumer.

The application composes a canonical support with an optional scalar contribution and binds the capabilities the algorithm states. It is the only role that names a scalar, a provider, or a concrete dtype.

The bindings live with the tests that exercise them, because a binding is only meaningful together with the runtime it registers into.

The application also declares its own scalar set. Together with the contribution’s set this gives two sets that both contain the external scalar, which is what #1785 asks for when it requires reuse of a contribution-owned kernel by two containing sets. A set is membership and dispatch only: the numerical entry point is parameterized by the contribution’s own scalar and operation type, so a second containing set adds no numerical specialization.

Enums§

ApplicationSet
Value enum for the set the application declares.
ApplicationTag
Tag for the set the application declares.