CIRCT  20.0.0git
Classes | Namespaces | Functions
esiCppAccel.cpp File Reference
#include "esi/Accelerator.h"
#include "esi/Services.h"
#include "esi/backends/Cosim.h"
#include <sstream>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
Include dependency graph for esiCppAccel.cpp:

Go to the source code of this file.

Classes

struct  pybind11::polymorphic_type_hook< ChannelPort >
 Pybind11 needs a little help downcasting with non-bound instances. More...
 
struct  pybind11::polymorphic_type_hook< Service >
 
struct  pybind11::detail::type_caster< std::any >
 Pybind11 doesn't have a built-in type caster for std::any (https://github.com/pybind/pybind11/issues/1590). More...
 

Namespaces

 pybind11
 
 pybind11::detail
 

Functions

py::object getPyType (std::optional< const Type * > t)
 Resolve a Type to the Python wrapper object. More...
 
 PYBIND11_MODULE (esiCppAccel, m)
 

Function Documentation

◆ getPyType()

py::object getPyType ( std::optional< const Type * >  t)

Resolve a Type to the Python wrapper object.

Definition at line 95 of file esiCppAccel.cpp.

Referenced by PYBIND11_MODULE().

◆ PYBIND11_MODULE()

PYBIND11_MODULE ( esiCppAccel  ,
 
)

Definition at line 103 of file esiCppAccel.cpp.

References esi::services::HostMem::allocate(), esi::services::MMIO::RegionDescriptor::base, esi::ModuleInfo::commitHash, esi::services::FuncService::Function::connect(), esi::registry::connect(), esi::ChannelPort::connect(), esi::Context::connect(), esi::ModuleInfo::constants, esiaccel.accelerator::ctxt, esi::Logger::Debug, esi::ChannelPort::disconnect(), esi::Logger::Error, esi::Manifest::getApiVersion(), esi::BundlePort::getChannels(), esi::BundleType::getChannels(), esi::HWModule::getChildren(), esi::services::MMIO::MMIORegion::getDescriptor(), esi::ArrayType::getElementType(), esi::services::SysInfo::getEsiVersion(), esi::StructType::getFields(), esi::Instance::getID(), esi::BundlePort::getID(), esi::Type::getID(), esi::HWModule::getInfo(), esi::ChannelType::getInner(), esi::services::SysInfo::getJsonManifest(), esi::Manifest::getModuleInfos(), esi::HWModule::getPorts(), esi::services::HostMem::HostMemRegion::getPtr(), getPyType(), esi::BundlePort::getRawRead(), esi::BundlePort::getRawWrite(), esi::services::MMIO::getRegions(), esi::AcceleratorConnection::getService(), esi::HWModule::getServices(), esi::AcceleratorConnection::getServiceThread(), esi::ArrayType::getSize(), esi::services::HostMem::HostMemRegion::getSize(), esi::ChannelPort::getType(), esi::BitVectorType::getWidth(), esi::utils::hash_combine(), esi::Logger::Info, esi::ModuleInfo::name, esi::services::MMIO::MMIORegion::read(), esi::services::MMIO::read(), esi::ReadChannelPort::readAsync(), esi::ModuleInfo::repo, esi::services::MMIO::RegionDescriptor::size, esi::ModuleInfo::summary, esi::AppIDPath::toStr(), esi::WriteChannelPort::tryWrite(), esi::Constant::type, esi::services::HostMem::Options::useLargePages, esi::Constant::value, esi::ModuleInfo::version, esi::Logger::Warning, esi::WriteChannelPort::write(), esi::services::MMIO::MMIORegion::write(), esi::services::MMIO::write(), and esi::services::HostMem::Options::writeable.