|
CnC
|
The tuner base for vector-based item-tuners. More...
Inherits item_tuner< Internal::vec_item_table >.
Additional Inherited Members | |
Public Member Functions inherited from item_tuner< Internal::vec_item_table > | |
| void | init_table (Internal::vec_item_table< Tag, Item, Coll > &stbl) const |
| Initialize the internal storage. More... | |
| int | get_count (const Tag &tag) const |
| Allows specifying the number of gets to the given item. More... | |
| int | consumed_on (const Tag &tag) const |
| Tells the scheduler on which process(es) this item is going to be consumed. More... | |
| int | produced_on (const Tag &tag) const |
| Tells the scheduler on which process(es) this item is going to be produced. More... | |
Static Public Member Functions inherited from tuner_base | |
| static int | myPid () |
| static int | numProcs () |
| template<typename Ctxt > | |
| static int | numThreads (const Ctxt &ctxt) |
| returns number of threads used by scheduler in given context | |
The tuner base for vector-based item-tuners.
Your tags must be convertable to and from size_t. You must provide the maximum value before accessing the collection (constructor or set_max). The runtime will allocate as many slots. Hence, use this only if your tags-space is dense, without a large offset and if it is not too large.
Definition at line 541 of file default_tuner.h.
1.8.13