CIRCT  20.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 >
 
class  esi::AcceleratorServiceThread
 Background thread which services various requests. More...
 

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< AcceleratorConnectionesi::registry::connect (Context &ctxt, const std::string &backend, const std::string &connection)
 
void esi::registry::internal::registerBackend (const std::string &name, BackendCreate create)
 

Variables

constexpr uint32_t esi::MetadataOffset = 8
 
constexpr uint64_t esi::MagicNumberLo = 0xE5100E51
 
constexpr uint64_t esi::MagicNumberHi = 0x207D98E5
 
constexpr uint64_t esi::MagicNumber = MagicNumberLo | (MagicNumberHi << 32)
 
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 170 of file Accelerator.h.