Home
libucxx
libucxx
ucxx
nightly (0.53)
nightly (0.53)
stable (0.52)
legacy (0.51)
Toggle main menu visibility
Loading...
Searching...
No Matches
python
include
ucxx
python
constructors.h
1
5
#pragma once
6
7
#include <memory>
8
9
#include <Python.h>
10
11
#include <ucxx/buffer.h>
12
13
namespace
ucxx
{
14
15
class
Context
;
16
class
Future
;
17
class
Notifier
;
18
class
Worker
;
19
20
namespace
python {
21
22
[[nodiscard]] std::shared_ptr<::ucxx::Future> createFuture(
23
std::shared_ptr<::ucxx::Notifier> notifier);
24
25
[[nodiscard]] std::shared_ptr<::ucxx::Future> createFutureWithEventLoop(
26
PyObject* asyncioEventLoop, std::shared_ptr<::ucxx::Notifier> notifier);
27
28
[[nodiscard]] std::shared_ptr<::ucxx::Notifier> createNotifier();
29
30
[[nodiscard]] std::shared_ptr<::ucxx::Worker> createWorker(std::shared_ptr<ucxx::Context> context,
31
const
bool
enableDelayedSubmission,
32
const
bool
enableFuture);
33
34
}
// namespace python
35
36
}
// namespace ucxx
ucxx::Context
Component encapsulating the UCP context.
Definition
context.h:35
ucxx::Future
Represent a future that may be notified by a specialized notifier.
Definition
future.h:21
ucxx::Notifier
Notifier for status of futures.
Definition
notifier.h:38
ucxx::Worker
Component encapsulating a UCP worker.
Definition
worker.h:62
ucxx
Definition
address.h:16
Generated by
1.18.0