10 #include <ucxx/buffer.h>
127 std::unique_ptr<Impl> _impl;
Component encapsulating the UCP context.
Definition: context.h:35
Builder class for constructing std::shared_ptr<ucxx::Worker> objects.
Definition: worker_builder.h:45
WorkerBuilder(const WorkerBuilder &other)
Copy constructor (deep-copies internal state).
WorkerBuilder & cudaBufferType(BufferType bufferType)
Configure the preferred buffer type for CUDA allocations.
WorkerBuilder & requestAttributes(bool enable=true)
Configure request attributes querying.
~WorkerBuilder()
WorkerBuilder destructor.
WorkerBuilder(std::shared_ptr< Context > context)
Constructor for WorkerBuilder with required context.
WorkerBuilder(WorkerBuilder &&) noexcept
Move constructor.
WorkerBuilder & delayedSubmission(bool enable=true)
Configure delayed submission to the progress thread.
std::shared_ptr< Worker > build()
Build and return the Worker.
WorkerBuilder & operator=(const WorkerBuilder &other)
Copy assignment operator (deep-copies internal state).
WorkerBuilder & pythonFuture(bool enable=true)
Configure Python future support.
Component encapsulating a UCP worker.
Definition: worker.h:62
WorkerBuilder workerBuilder(std::shared_ptr< Context > context)
Create a WorkerBuilder for constructing a shared_ptr<ucxx::Worker>.
Definition: worker_builder.h:158
BufferType
The type of a buffer.
Definition: buffer.h:17