|
CIRCT 24.0.0git
|

Public Member Functions | |
| __init__ (self, cpp.LogLevel log_level=cpp.LogLevel.Warning) | |
| set_stdio_logger (self, cpp.LogLevel level) | |
| "AcceleratorConnection" | connect (self, str platform, str connection_str) |
Static Public Member Functions | |
| "Context" | default () |
Public Attributes | |
| cpp_ctxt = cpp.Context() | |
Static Protected Attributes | |
| Optional | _default = None |
A context for ESI accelerator connections. The underlying C++ context owns everything assocated with it including types, accelerator connections, and the accelerator facade/interface (aka Accelerator) itself. It must not be garbage collected while any accelerators or connections that it owns are still in use as they will be disconnected and destroyed when the context is destroyed.
Definition at line 21 of file accelerator.py.
| esiaccel.accelerator.Context.__init__ | ( | self, | |
| cpp.LogLevel | log_level = cpp.LogLevel.Warning ) |
Definition at line 31 of file accelerator.py.
| "AcceleratorConnection" esiaccel.accelerator.Context.connect | ( | self, | |
| str | platform, | ||
| str | connection_str ) |
Definition at line 44 of file accelerator.py.
References connect(), and cpp_ctxt.
Referenced by connect().
|
static |
Definition at line 36 of file accelerator.py.
| esiaccel.accelerator.Context.set_stdio_logger | ( | self, | |
| cpp.LogLevel | level ) |
Definition at line 41 of file accelerator.py.
References cpp_ctxt, and set_stdio_logger().
Referenced by set_stdio_logger().
|
staticprotected |
Definition at line 29 of file accelerator.py.
| esiaccel.accelerator.Context.cpp_ctxt = cpp.Context() |
Definition at line 32 of file accelerator.py.
Referenced by connect(), and set_stdio_logger().