tvm
|
Classes | |
class | ThreadGroup |
A platform-agnostic abstraction for managing a collection of thread pool threads. More... | |
Functions | |
void | Yield () |
Platform-agnostic no-op. More... | |
int | MaxConcurrency () |
void | ResetThreadPool () |
Reset the threads in the pool. All current threads are destroyed and new ones are created. More... | |
int tvm::runtime::threading::MaxConcurrency | ( | ) |
void tvm::runtime::threading::ResetThreadPool | ( | ) |
Reset the threads in the pool. All current threads are destroyed and new ones are created.
Note that this does nothing when openmp is used.
void tvm::runtime::threading::Yield | ( | ) |
Platform-agnostic no-op.