CIRCT  19.0.0git
Classes | Namespaces | Macros | Typedefs | Functions | Variables
Accelerator.h File Reference
#include "esi/Context.h"
#include "esi/Design.h"
#include "esi/Manifest.h"
#include "esi/Ports.h"
#include "esi/Services.h"
#include <functional>
#include <map>
#include <memory>
#include <string>
#include <typeinfo>
Include dependency graph for Accelerator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  esi::Accelerator
 Top level accelerator class. More...
 
class  esi::AcceleratorConnection
 Abstract class representing a connection to an accelerator. More...
 
struct  esi::registry::internal::RegisterAccelerator< TAccelerator >
 

Namespaces

 esi
 
 esi::registry
 
 esi::registry::internal
 

Macros

#define REGISTER_ACCELERATOR(Name, TAccelerator)
 

Typedefs

using esi::registry::internal::BackendCreate = std::function< std::unique_ptr< AcceleratorConnection >(Context &, std::string)>
 Backends can register themselves to be connected via a connection string. More...
 

Functions

std::unique_ptr< AcceleratorConnection > esi::registry::connect (Context &ctxt, std::string backend, std::string connection)
 
void esi::registry::internal::registerBackend (std::string name, BackendCreate create)
 

Variables

constexpr uint32_t esi::MetadataOffset = 8
 
constexpr uint32_t esi::MagicNumberLo = 0xE5100E51
 
constexpr uint32_t esi::MagicNumberHi = 0x207D98E5
 
constexpr uint32_t esi::ExpectedVersionNumber = 0
 

Macro Definition Documentation

◆ REGISTER_ACCELERATOR

#define REGISTER_ACCELERATOR (   Name,
  TAccelerator 
)
Value:
static ::esi::registry::internal::RegisterAccelerator<TAccelerator> \
__register_accel____LINE__(Name)

Definition at line 146 of file Accelerator.h.