Skip to main content

authoring Namespace

Definition​

namespace simaai::kernels::authoring { ... }

Classes Index​

structEvOptions

Typedefs Index​

usingEvEntry = decltype(detail::ExecutableState::bind_ev)

Functions Index​

Result< std::shared_ptr< const Contract > >make_contract (std::span< const TensorSpec > inputs, std::span< const TensorSpec > outputs, std::span< const TensorRequirements > input_requirements, std::span< const TensorRequirements > output_requirements, ContractOptions options={})
Executablehost_executable (std::shared_ptr< const void > payload, std::shared_ptr< const Contract > contract, HostEntry execute, std::shared_ptr< const detail::ResourceRecipe > resource={}, HostOptions options={}, const detail::VariantProvider *variant=nullptr)
Executableev_executable (std::shared_ptr< const void > payload, std::shared_ptr< const Contract > contract, EvEntry bind, EvOptions options)
template <class Payload, class Context, auto Create>
auto context_recipe (std::shared_ptr< const Payload > payload, bool requires_host_tasks=false) -> std::shared_ptr< const detail::ResourceRecipe >
template <class Payload, auto Execute>
Executablestateless_host (std::shared_ptr< const Payload > payload, std::shared_ptr< const Contract > contract, HostOptions options={})
template <class Payload, class Context, auto Create, auto Execute>
Executablecontext_host (std::shared_ptr< const Payload > payload, std::shared_ptr< const Contract > contract, bool requires_host_tasks=false, HostOptions options={})

Typedefs​

EvEntry​

using simaai::kernels::authoring::EvEntry = typedef decltype(detail::ExecutableState::bind_ev)

Definition at line 83 of file authoring.h.

Functions​

context_host()​

template <class Payload, class Context, auto Create, auto Execute>
Executable simaai::kernels::authoring::context_host (std::shared_ptr< const Payload > payload, std::shared_ptr< const Contract > contract, bool requires_host_tasks=false, HostOptions options={})

Definition at line 167 of file authoring.h.

context_recipe()​

template <class Payload, class Context, auto Create>
std::shared_ptr< const detail::ResourceRecipe > simaai::kernels::authoring::context_recipe (std::shared_ptr< const Payload > payload, bool requires_host_tasks=false)

Definition at line 120 of file authoring.h.

ev_executable()​

Executable simaai::kernels::authoring::ev_executable (std::shared_ptr< const void > payload, std::shared_ptr< const Contract > contract, EvEntry bind, EvOptions options)
inline

Definition at line 95 of file authoring.h.

host_executable()​

Executable simaai::kernels::authoring::host_executable (std::shared_ptr< const void > payload, std::shared_ptr< const Contract > contract, HostEntry execute, std::shared_ptr< const detail::ResourceRecipe > resource={}, HostOptions options={}, const detail::VariantProvider * variant=nullptr)
inline

Definition at line 63 of file authoring.h.

make_contract()​

Result< std::shared_ptr< const Contract > > simaai::kernels::authoring::make_contract (std::span< const TensorSpec > inputs, std::span< const TensorSpec > outputs, std::span< const TensorRequirements > input_requirements, std::span< const TensorRequirements > output_requirements, ContractOptions options={})
inline

Definition at line 39 of file authoring.h.

stateless_host()​

template <class Payload, auto Execute>
Executable simaai::kernels::authoring::stateless_host (std::shared_ptr< const Payload > payload, std::shared_ptr< const Contract > contract, HostOptions options={})

Definition at line 148 of file authoring.h.


The documentation for this namespace was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.