Thorsten Liebig
b49bd2af80
MT engine: fix threads not cleaned up, #104
...
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2023-02-11 10:43:28 +01:00
Thorsten Liebig
6673aefd70
engine: try to find optimal number of engine threads
...
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2023-01-06 20:01:07 +01:00
Stefan Brüns
a5a1dca832
Guard xmmintrin.h include so it is only used when necessary
...
The x86/SSE specific code for Flush-To-Zero is only used when
SSE_CORRECT_DENORMALS is not defined. Guarding the include allows the
code to compile on e.g. ARM.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
2018-03-27 03:26:21 +02:00
Sebastian Held
42f0a6dc59
linux compile fix
...
Forgot to add a header.
2012-10-06 21:10:23 +02:00
Sebastian Held
384cfe5677
bugfix Windows: FTZ and DAZ bits in SSE computation unit is thread dependent.
...
This fix sets the FTZ ans DAZ bits in every thread to gain the speedup.
Linux seems to store these bits per process rather than per thread.
2012-10-06 20:50:36 +02:00
Thorsten Liebig
830f7494c8
console output cleanup: use verbose level ('-v') for old verbose style
2011-11-08 11:49:14 +01:00
Thorsten Liebig
aba33c58bd
excitation moved to its own extension
...
the benefit of this approach is, that the excitation
is subject to the extensions priorities
2011-03-16 16:26:01 +01:00
Thorsten Liebig
20d6547235
MPI: added cylindrical multigrid support
...
The cylindrical multigrid scheme needed a workaround:
An additional barrier is necessary to prevent a simultaneous MPI comm access.
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2011-03-10 10:39:08 +01:00
Thorsten Liebig
8d2d645a26
MPI: insert MPI engine into main engines inheritance scheme
...
new inheritance scheme:
[..] -> SSE_Compressed -> MPI -> Multithreading -> [..]
2011-03-10 10:39:07 +01:00
Thorsten Liebig
9d3761b1d0
Init style: applied astyle.sh
...
astyle --style=allman --indent=tab --indent-cases {} \;
please apply this style prior to any future commit
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2010-12-06 15:31:11 +01:00
Thorsten Liebig
70ae86d63f
moved all FDTD extensions to folder FDTD/extensions
...
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2010-12-06 15:30:47 +01:00
Thorsten Liebig
043ef6ec4c
extensions: multithreading support added
...
every extension can either implement the single threaded methods e.g. DoPreVoltageUpdates()
or the multithreading aquivalent method e.g. DoPreVoltageUpdates(int threadID)
Engine_Ext_UPML class is an example for a multithreading extensions
2010-10-06 10:30:55 +02:00
Thorsten Liebig
f6663eeccb
multithreading engine: removed separate excitation thread
...
the excitation is now handled by the first (ID=0) "conventional" thread
2010-10-02 18:06:38 +02:00
Thorsten Liebig
fb3ccd36bf
engine: update handling extensions & multithreading priority handling fixed
2010-10-02 17:54:34 +02:00
Thorsten Liebig
a52cd4711a
MT operator: new separate calc start-stop lines method
2010-09-03 12:14:25 +02:00
Thorsten Liebig
db0f4ab3e0
MT-engine has access to MT-operator
2010-09-02 22:16:37 +02:00
Thorsten Liebig
cabdf4a84a
clear extensions method allows saver reset of MT engine
2010-09-02 22:04:35 +02:00
Thorsten Liebig
4d67bab7c7
fix in calculation of numThreads --> calculation moved to operator
2010-08-25 15:27:59 +02:00
Thorsten Liebig
91ecb547d6
fix in multithreading linesPerThread
...
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2010-06-29 12:44:47 +02:00
Thorsten Liebig
88b319cbba
some typos & consol message fixes
2010-06-07 23:08:38 +02:00
Thorsten Liebig
dab5be229b
multithreaded engine now a derived class of compressed sse engine, created by new operator_multithread class
...
- also fixed double init() call of engines
- operator_multithread open for future multithreaded operator creation
2010-05-20 22:02:06 +02:00
Sebastian Held
df17dc23c6
evil hack to get multithreading working again
...
future: restructure the multithreading engine to only work on top the sse_compressed engine
2010-05-20 17:39:39 +02:00
Thorsten Liebig
8212f039ed
more console output regarding operator & engine usage
2010-05-19 21:25:15 +02:00
Thorsten Liebig
98c10c7628
define engine type and overload all GetVolt/GetCurr
2010-05-17 13:08:27 +02:00
Thorsten Liebig
7f70f0fb4d
engine independent multi-threading
2010-05-11 19:11:38 +02:00
Sebastian Held
71bd794cc1
multithreaded engine: use common excitation function
2010-04-20 13:10:25 +02:00
Thorsten Liebig
3b29514d16
Access function for number of Lines
2010-04-11 23:42:54 +02:00
Thorsten Liebig
2c21303833
NEW: first implementation of Cylindrical Coord FDTD
...
todo:
- allow closed alpha mesh
- allow r=0 case
- adept field processing
- ...
2010-04-09 15:51:37 +02:00
Sebastian Held
37ff221c18
multithreaded engine works
...
but it's slow...
2010-04-01 16:11:55 +02:00
Sebastian Held
2409a77399
bugfix: multithreaded excitation
2010-03-31 15:37:39 +02:00
Sebastian Held
813683304b
new commandline switch: --numThreads=
2010-03-30 13:13:00 +02:00
Sebastian Held
b8180287e9
time debug code can now be disabled
2010-03-28 13:10:16 +02:00
Sebastian Held
fb193ac25b
debugging
2010-03-27 22:57:25 +01:00
Sebastian Held
54344b1b86
bug: field dumper directly access protected numTS member variable...
2010-03-27 15:26:20 +01:00
Sebastian Held
e108e17cec
bugfix: calculate correct number of timesteps
2010-03-27 11:32:06 +01:00
Sebastian Held
79b0e6a2e0
first implementation of a multithreaded engine (bugs and mem leaks present!)
2010-03-26 23:53:05 +01:00
Sebastian Held
a7ccec254d
static createEngine() added to work around virtual constructor problems
2010-03-26 17:24:43 +01:00
Sebastian Held
c916059a30
new engine: multithreaded
2010-03-26 12:57:52 +01:00