Abstraction of a UCX context.
More...
#include <ucxpp/context.h>
|
| context (uint64_t features, bool print_config, bool enable_mt) |
| Construct a new context object. More...
|
|
uint64_t | features () const |
| Get the features of the context. More...
|
|
ucp_context_h | handle () const |
| Get the native UCX handle of the context. More...
|
|
| ~context () |
| Destroy the context object and release resources.
|
|
|
class | worker |
|
class | local_memory_handle |
|
Abstraction of a UCX context.
◆ context()
ucxpp::context::context |
( |
uint64_t |
features, |
|
|
bool |
print_config, |
|
|
bool |
enable_mt |
|
) |
| |
Construct a new context object.
- Parameters
-
features | Feature flags |
print_config | Print the config to stdout |
enable_mt | Enable multi-threading |
◆ features()
uint64_t ucxpp::context::features |
( |
| ) |
const |
Get the features of the context.
- Returns
- uint64_t Feature flags
◆ handle()
ucp_context_h ucxpp::context::handle |
( |
| ) |
const |
Get the native UCX handle of the context.
- Returns
- ucp_context_h The native UCX handle
The documentation for this class was generated from the following files: