public class UcpWorkerParams extends UcxParams
| Constructor and Description |
|---|
UcpWorkerParams() |
| Modifier and Type | Method and Description |
|---|---|
UcpWorkerParams |
clear()
Reset state of parameters.
|
UcpWorkerParams |
requestThreadSafety()
Requests the thread safety mode which worker and the associated resources
should be created with.
|
UcpWorkerParams |
requestWakeupAMO()
Atomic operation send completion.
|
UcpWorkerParams |
requestWakeupEdge()
Use edge-triggered wakeup.
|
UcpWorkerParams |
requestWakeupRMA()
Remote memory access send completion.
|
UcpWorkerParams |
requestWakeupRX()
This event type will generate an event on completion of any receive
operation (complete or partial, according to the underlying protocol).
|
UcpWorkerParams |
requestWakeupTagRecv()
Tag receive completion.
|
UcpWorkerParams |
requestWakeupTagSend()
Tag send completion.
|
UcpWorkerParams |
requestWakeupTX()
This event type will generate an event on completion of any
outgoing operation (complete or partial, according to the
underlying protocol) for any type of transfer (send, atomic, or RMA).
|
UcpWorkerParams |
setCpu(int cpuNum)
Mask of which CPUs worker resources should preferably be allocated on.
|
UcpWorkerParams |
setEventFD(int eventFD)
External event file descriptor.
|
UcpWorkerParams |
setUserData(ByteBuffer userData)
User data associated with the current worker.
|
checkArraySizespublic UcpWorkerParams clear()
UcxParamspublic UcpWorkerParams requestThreadSafety()
UcpWorker.UcpWorker(UcpContext, UcpWorkerParams)
attempts to create worker where multiple threads can access concurrently.
The thread mode with which worker is created can differ from the
suggested mode.public UcpWorkerParams setCpu(int cpuNum)
public UcpWorkerParams requestWakeupRMA()
public UcpWorkerParams requestWakeupAMO()
public UcpWorkerParams requestWakeupTagSend()
public UcpWorkerParams requestWakeupTagRecv()
public UcpWorkerParams requestWakeupTX()
public UcpWorkerParams requestWakeupRX()
public UcpWorkerParams requestWakeupEdge()
public UcpWorkerParams setUserData(ByteBuffer userData)
public UcpWorkerParams setEventFD(int eventFD)
Events on the worker will be reported on the provided event file descriptor. The provided file descriptor must be capable of aggregating notifications for arbitrary events, for example epoll(7) on Linux systems.
userData will be used as the event user-data on systems which
support it. For example, on Linux, it will be placed in
epoll_data_t::ptr, when returned from epoll_wait(2).
Otherwise, events would be reported to the event file descriptor returned from ucp_worker_get_efd().
Copyright © 2021. All rights reserved.