This machine mirrors various open-source projects.
20 Gbit/s uplink.
If there are any issues or you want another project mirrored, please contact
mirror-service -=AT=- netcologne DOT de !
GetFEM
5.4.2
|
A singleton that Manages partitions on individual threads. More...
#include <getfem_omp.h>
Public Member Functions | |
partition_iterator | begin () |
beginning of the partitions for the current thread | |
partition_iterator | end () |
end of the partitions for the current thread | |
void | set_behaviour (thread_behaviour) |
Sets the behaviour for the full program: either partitioning parallel loops according to the number of true threads, specified by the user, or to the number of the fixed partitions equal to the max concurrency of the system. More... | |
size_type | get_current_partition () const |
active partition on the thread. More... | |
size_type | get_nb_partitions () const |
number of partitions or threads, depending on thread policy | |
void | set_nb_partitions (size_type) |
for thread_behaviour::partition_threads set the total number of partitions. More... | |
A singleton that Manages partitions on individual threads.
Definition at line 381 of file getfem_omp.h.
void getfem::partition_master::set_behaviour | ( | thread_behaviour | b | ) |
Sets the behaviour for the full program: either partitioning parallel loops according to the number of true threads, specified by the user, or to the number of the fixed partitions equal to the max concurrency of the system.
The later makes the partitioning independent of the number of the threads set
Definition at line 227 of file getfem_omp.cc.
size_type getfem::partition_master::get_current_partition | ( | ) | const |
active partition on the thread.
If number of threads is equal to the max concurrency of the system, then it's also the index of the actual thread
Definition at line 243 of file getfem_omp.cc.
void getfem::partition_master::set_nb_partitions | ( | size_type | n | ) |
for thread_behaviour::partition_threads set the total number of partitions.
This call must be made before all the omp_distribute based classes are created. Otherwise they become invalid
Definition at line 198 of file getfem_omp.cc.