Industrial Data Science
in C# and .NET:
Simple. Fast. Reliable.

ILNumerics - Technical Computing

Modern High Performance Tools for Technical

Computing and Visualization in Industry and Science

Parallel Computing with TPL and ILNumerics

This examples demonstrates how ILNumerics can be used with TPL without threading or memory issues.

ILNumerics arrays can be used by separate threads in parallel - as long as all data are separated. Currently, each thread must load its own dataset. ILNumerics.Array<T> cannot be shared across thread boundaries. In some configurations, you may have to consider certain properties of TPL, too. This example describes your options and gives some background. Please, refer to the comments in the code below.

Topics covered: Configuring the ILNumerics thread pool, configuring the native memory pool on a thread base, investigating memory issues.

Last modified: August 26 2021 09:17

Download ZIP


All Examples