ClikaRT::SynchronousScope
class
Header: ClikaRT/compute/scope.h
While alive, every op dispatched on the calling thread COMPLETES before the dispatch call returns, whichever stream runs it: the moment a call returns, its result is ready. Thread-local (it changes nothing for other threads and throttles no stream), so it opens anywhere, on a busy lane included; it trades away the throughput that asynchronous pipelining buys, for as long as it lives. Scopes nest. Non-copyable, non-movable.
Member functions
SynchronousScope()
SynchronousScope()
Enter: ops issued from this thread complete before returning until the scope exits.
Declared in ClikaRT/compute/scope.h, line 33
~SynchronousScope()
~SynchronousScope()
Exit: restores the thread's ordinary asynchronous issue.
Declared in ClikaRT/compute/scope.h, line 35
SynchronousScope(SynchronousScope)
SynchronousScope(const SynchronousScope&) =delete
Declared in ClikaRT/compute/scope.h, line 36
operator=()
SynchronousScope& operator=(const SynchronousScope&) =delete
Declared in ClikaRT/compute/scope.h, line 37