[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Getfem-commits] [getfem-commits] partitions_initiation updated (53a1931
From: |
Andriy Andreykiv |
Subject: |
[Getfem-commits] [getfem-commits] partitions_initiation updated (53a1931 -> 8bd82f1) |
Date: |
Thu, 31 Jan 2019 05:47:29 -0500 (EST) |
andrico pushed a change to branch partitions_initiation.
from 53a1931 - safer omp_distribute component extraction (in Debug) -
default number of threads and partitions is 1, increasing threads automatically
increases partitions unless specific number of partitions was requested. -
corrected constructions with universal references
new 8bd82f1 thread based partitioning: - flag in mesh region needs
to atomic, not distributed, not to depend on the thread policy used -
initializing threads to 1, to be able to expand it to the desired number
(setting them to any large number prevents later setting to 1, as shrinking
partitions is not possible)
Summary of changes:
src/getfem/getfem_mesh_region.h | 11 +++++++----
src/getfem_mesh_region.cc | 8 ++++----
src/getfem_omp.cc | 1 +
3 files changed, 12 insertions(+), 8 deletions(-)
- [Getfem-commits] [getfem-commits] partitions_initiation updated (53a1931 -> 8bd82f1),
Andriy Andreykiv <=