MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::parallel Namespace Reference

Namespaces

namespace  pool_local_noexc
namespace  detail
namespace  pool_select_thread

Classes

class  spin_pool
class  thread_pool

Typedefs

using default_pool = thread_pool
 The pool type MTL5's kernels run on: thread_pool, or spin_pool under MTL5_POOL_SPIN.

Functions

default_pool & pool ()
 The process-wide pool that MTL5's kernels run on.
bool configure (unsigned threads)
 Size the process-wide pool from code, instead of MTL5_NUM_THREADS.