List of Argobots wrapper classes¶
|Thallium class||Argobot type|
The following class are resource-managed (that is,
they create a valid internal Argobot handle when their
constructor is called, destroy it when their destructor
is called, they are non-copy-constructible,
non-copy-assignable, but they are move-constructible
The following classes are only wrappers to Argobots resources
but do not destroy them when their destructor is called:
To manage the resource inside these classes, you need to use the
template class (e.g.
managed<thread>). Managed resources are created
using the create() factory functions in their respective classes,
or the make_thread and make_task functions of the pool and xstream
classes for managed<thread> and managed<task>.
An issue with Argobots currently makes managed<pool> and managed<scheduler> not behave correctly. Their internal resource will be freed automatically if they are default pools or default schedulers. If they are custom pools and schedulers they will not be freed at all.