CIRCT 22.0.0git
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
esiCppAccel.cpp File Reference
#include "esi/Accelerator.h"
#include "esi/Services.h"
#include "esi/backends/Cosim.h"
#include <ranges>
#include <sstream>
#include <nanobind/nanobind.h>
#include <nanobind/stl/function.h>
#include <nanobind/stl/map.h>
#include <nanobind/stl/optional.h>
#include <nanobind/stl/pair.h>
#include <nanobind/stl/string.h>
#include <nanobind/stl/unique_ptr.h>
#include <nanobind/stl/vector.h>
Include dependency graph for esiCppAccel.cpp:

Go to the source code of this file.

Classes

struct  nanobind::detail::type_hook< ChannelPort >
 
struct  nanobind::detail::type_hook< Service >
 
struct  nanobind::detail::type_caster< std::any >
 Nanobind doesn't have a built-in type caster for std::any. More...
 

Namespaces

namespace  nanobind
 
namespace  nanobind::detail
 

Functions

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

Function Documentation

◆ getPyType()

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

Resolve a Type to the Python wrapper object.

Definition at line 103 of file esiCppAccel.cpp.

Referenced by NB_MODULE().

◆ NB_MODULE()

NB_MODULE ( esiCppAccel  ,
 
)

Definition at line 111 of file esiCppAccel.cpp.

References esi::services::HostMem::allocate(), esi::services::MMIO::RegionDescriptor::base, esi::ChannelPort::ConnectOptions::bufferSize, esi::services::FuncService::Function::connect(), esi::services::TelemetryService::Metric::connect(), esi::ChannelPort::connect(), esi::ChannelPort::disconnect(), esi::AcceleratorConnection::getAccelerator(), esi::MessageData::getBytes(), esi::HWModule::getChildren(), esi::services::MMIO::MMIORegion::getDescriptor(), esi::services::SysInfo::getEsiVersion(), esi::Instance::getID(), esi::Type::getID(), esi::HWModule::getInfo(), esi::services::SysInfo::getJsonManifest(), esi::HWModule::getPorts(), esi::services::HostMem::HostMemRegion::getPtr(), getPyType(), esi::services::MMIO::getRegions(), esi::AcceleratorConnection::getService(), esi::HWModule::getServices(), esi::services::Service::getServiceSymbol(), esi::AcceleratorConnection::getServiceThread(), esi::MessageData::getSize(), esi::services::HostMem::HostMemRegion::getSize(), esi::ChannelPort::getType(), esi::BitVectorType::getWidth(), esi::utils::hash_combine(), esi::services::HostMem::mapMemory(), esi::services::TelemetryService::Metric::read(), esi::services::MMIO::MMIORegion::read(), esi::services::MMIO::read(), esi::ReadChannelPort::readAsync(), esi::services::TelemetryService::Metric::readInt(), esi::Context::setLogger(), esi::services::MMIO::RegionDescriptor::size, esi::AppIDPath::toStr(), esi::ChannelPort::ConnectOptions::translateMessage, esi::WriteChannelPort::tryWrite(), esi::Constant::type, esi::services::HostMem::unmapMemory(), esi::services::HostMem::Options::useLargePages, esi::Constant::value, esi::WriteChannelPort::write(), esi::services::MMIO::MMIORegion::write(), esi::services::MMIO::write(), and esi::services::HostMem::Options::writeable.