CIRCT 24.0.0git
Loading...
Searching...
No Matches
esi::registry::internal Namespace Reference

Classes

struct  RegisterAccelerator
struct  RegisterEngine
 Helper struct to register engines. More...
class  BackendRegistry

Typedefs

using BackendCreate
 Backends can register themselves to be connected via a connection string.
using EngineCreate
 Engines can register themselves for pluggable functionality.

Functions

void registerBackend (const std::string &name, BackendCreate create)
void registerEngine (const std::string &name, EngineCreate create)

Typedef Documentation

◆ BackendCreate

Initial value:
std::function<std::unique_ptr<AcceleratorConnection>(
Context &, std::string)>
AcceleratorConnections, Accelerators, and Manifests must all share a context.
Definition Context.h:34

Backends can register themselves to be connected via a connection string.

Definition at line 212 of file Accelerator.h.

◆ EngineCreate

Initial value:
std::function<std::unique_ptr<Engine>(
const ServiceImplDetails &details, const HWClientDetails &clients)>
Abstract class representing a connection to an accelerator.
std::vector< HWClientDetail > HWClientDetails
Definition Common.h:108
std::map< std::string, std::any > ServiceImplDetails
Definition Common.h:109

Engines can register themselves for pluggable functionality.

Definition at line 105 of file Engines.h.

Function Documentation

◆ registerBackend()

void esi::registry::internal::registerBackend ( const std::string & name,
BackendCreate create )

◆ registerEngine()

void esi::registry::internal::registerEngine ( const std::string & name,
EngineCreate create )