|
Uni20
Asynchronous tensor and runtime library.
|
One operation-tail completion shared by multiple CUDA buffer accesses. More...
#include <buffer.hpp>
Public Member Functions | |
| AccessCompletion (AccessCompletion &&) noexcept=default | |
| AccessCompletion (AccessCompletion const &)=delete | |
| AccessCompletion (Stream const &stream) noexcept | |
| Record the current stream tail, synchronizing only if publication fails. | |
| AccessCompletion & | operator= (AccessCompletion &&) noexcept=default |
| AccessCompletion & | operator= (AccessCompletion const &)=delete |
| template<class Access > | |
| void | release (Access &access) const noexcept |
| Release one participating access through the shared completion. | |
One operation-tail completion shared by multiple CUDA buffer accesses.
Record this after successfully submitting all work for one operation, then release every participating access through it. If event publication fails, construction synchronizes the stream and subsequent releases use the already-synchronized path.
|
inlineexplicitnoexcept |
Record the current stream tail, synchronizing only if publication fails.
|
delete |
|
defaultnoexcept |
|
defaultnoexcept |
|
delete |
|
inlinenoexcept |
Release one participating access through the shared completion.