Christoph Ruegg
cc5079bdcf
StyleCop
12 years ago
Christoph Ruegg
c86fb9c613
Threading: CommonParallel internalized
12 years ago
Christoph Ruegg
b4da1d0948
Control: rename NumberOfParallelWorkerThreads to MaxDegreeOfParallelism #197
12 years ago
Thomas Ibel
abcb95d102
add Control.TaskScheduler property
12 years ago
Thomas Ibel
8f0a48354c
remove Control.DisableParallelization
12 years ago
tibel
960574053c
add CreateParallelOptions to show how to set the TaskScheduler
12 years ago
Thomas Ibel
8eafbcb88c
build Parallel class for portable
12 years ago
Thomas Ibel
a95529f6e4
create Partitioner for NET35
12 years ago
Christoph Ruegg
7c6d83464f
Build: .Net 3.5 variant of Numerics project in portable solution
13 years ago
Christoph Ruegg
7d11e73aaa
Inspections/CodeAnalysis Cleanup
13 years ago
Christoph Ruegg
01b54a5168
Drop obsolete code
13 years ago
Christoph Ruegg
5189e49fbd
Control: update obsolete attributes
13 years ago
Christoph Ruegg
d3dc54b4c1
Reworking common parallelization routines #92
13 years ago
Christoph Ruegg
386fb36bfc
Solution: Replace Silverlight with Portable library
Instead of a specific Silverlight version, we now provide a separate
Portable Library assebly that supports .Net 4.0.1 and higher,
Silverlight 5 ad well as .Net for Metro style apps (WinRT).
New NuGet Package MathNet.Numerics.Portable with the portable library.
Since MathNet.Numerics.Portable now supports silverlight, the normal
package MathNet.Numerics no longer supports it (.Net 4 only).
Reworked the common parallel execution infrastructure for more reasonable
abstractions and better compatibility with portable libraries. Portable
libraries do support parts of the TPL, but neither the Parallel class nor
straight threading.
14 years ago
Christoph Ruegg
7cced98dd2
Threading: CommonParallel now supports empty loops. Closes gh-19.
CommonParallel did break on empty loops with an argument exception instead
of just doing nothing. It now exits early if there's nothing to do in
For and Invoke, no longer throwing an exception. Also, it now special cases
single-element iterations and inlines their execution (trivial loop
unrolling), skipping all the threading/task overhead.
15 years ago
Marcus Cuda
57da4a187e
vector parallelization tweaks
15 years ago
Marcus Cuda
89aa96eec8
started optimizing the parallel code for small matrices and vectors
15 years ago
Abratiychuk
3f470bc0bc
Fixed unit tests for Silverlight
Signed-off-by: abratiychuk <18.05.2011>
15 years ago
Marcus Cuda
518cdf2fbd
fixed silverlight compile bug from last commit
16 years ago
Marcus Cuda
39ea72370a
fixed a problem were Parallel Invoke and Select where ignoring threading options from Control, there is still an issue with recursively calling invoke.
16 years ago
Marcus Cuda
2cf99d8184
commented out CommonParallel.Aggregate modified the affected code
16 years ago
Marcus Cuda
407ba19669
sparse matrix is no longer thread safe to improve performance
16 years ago
Marcus Cuda
d9bbaa4a90
refactored the Vector classes to use an intermediate, type specific class
16 years ago
Marcus Cuda
8585733257
la: added Andriy's complex32 LA code
16 years ago
Marcus Cuda
17d5941ea2
added andriy's single LA
16 years ago
Marcus Cuda
1a8cce73c6
Merged Andriy's additions as follows:
Added optimized versions of L1, Frobenius, and infinity norms to the dense and sparse matrices
Added a TransposeAndMultiply method to Matrix DenseMatrix, and SparseMatrix
Ported the Gram-Schmidt QR factorization from dnAnalytics
Ported the diagonal matrix from dnAnalytics
Ported the iterative solvers from dnAnalytics
16 years ago
Marcus Cuda
44bded2c7b
added LA to siliverlight
switched LA parallel to CommonParallel class
16 years ago
Christoph Ruegg
722b9736c4
Numerics: udated headers (sorry for the code churn..)
16 years ago
Marcus Cuda
fe5147fcda
using common parallel class for both silverlight and .NET 4.0
16 years ago
Marcus Cuda
2b516b03e5
switched over to the 2010 Parallel class
16 years ago
Marcus Cuda
e371298455
silverlight: thread queue defaults to 1 thread since Silverlight doesn't support Enviroment.ProcessorCount
17 years ago
Marcus Cuda
a78f202b2c
threading: fixed shutdown bug.
17 years ago
Marcus Cuda
1cf455eddc
add silverlight project
17 years ago
Marcus Cuda
65ac0273f9
modified the thread queue to use wait/pulse instead of semaphores
17 years ago
Marcus Cuda
8672951779
added Serializable attribute to AggregateException
removed unnecessary VS solutions
17 years ago
Marcus Cuda
1d8645c15e
Removed the Algorithm factory, now just registering the providers in the Control class
Made the managed provider public
17 years ago
Marcus Cuda
bef57e21df
added some of the missing parallel tests
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Marcus Cuda
4e9ed41576
localInit is now called once per thread rather than once per Parallel call
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Marcus Cuda
1ffd3e13e6
Tweaked the parallel code, but the ForEach still performs slowly
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Marcus Cuda
914c317157
removed GetIndexedEnumerator from Vector - will add it back to the sparse Vector
moved the scaling factor and max block size from control into the Parallel class and made them constant
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Marcus Cuda
dd2a8328a9
Changed Task class to not extend WaitHandle since there can only be at most 64 waithandles
There is still an issues with too many semaphores being created
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Marcus Cuda
96dbd4162e
Parallel: maybe I should check in something that actually compiles
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Marcus Cuda
f50b19f939
Parallel: added zero check, but aggregates still need fast forwards
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Marcus Cuda
960717c374
Parallel: first take on aggregate parallel methods
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Marcus Cuda
94af0578c8
Parellel: found problem with tests, they were only testing the list version - added set versions
fixed bug when no tasks were ran
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Marcus Cuda
b6562f14da
Parellel: added missing 'wait for threads' to complete code - not sure how the tests passed before. there might be a problem with the tests
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Marcus Cuda
85dcab23f9
Parallel: First take on Parallel.ForEach
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Christoph Ruegg
36b925390b
threading: removing misguided comment
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
ed86c197d7
threading: resolve recursive parallelization, preventing deadlocks
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
37f3be9ce1
threading: minor refactoring, control, fast-forward execution
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago