|
Uni20
Asynchronous tensor and runtime library.
|
RAII helper that temporarily overrides the global scheduler. More...
#include <debug_scheduler.hpp>
Public Member Functions | |
| ScopedScheduler (IAsyncScheduler *sched) | |
| Install a temporary global scheduler until destruction. | |
| ~ScopedScheduler () | |
| Restore the previous global scheduler. | |
RAII helper that temporarily overrides the global scheduler.
|
inlineexplicit |
Install a temporary global scheduler until destruction.
| sched | Scheduler pointer to activate. |
|
inline |
Restore the previous global scheduler.