|
Uni20
Asynchronous tensor and runtime library.
|
Awaiter that establishes or changes a CUDA task's device affinity. More...
#include <task_awaiters.hpp>
Public Member Functions | |
| constexpr bool | await_ready () const noexcept |
| constexpr void | await_resume () const noexcept |
| bool | await_suspend (std::coroutine_handle< CudaTaskPromise > handle) const |
| constexpr | CudaDeviceAwaiter (int device) noexcept |
Awaiter that establishes or changes a CUDA task's device affinity.
The scheduler-established current CUDA device determines whether selection needs another activation. A different device resubmits through the recorded scheduler; an already-current device resumes immediately after recording affinity.
|
inlineexplicitconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inline |