Visible to Intel only — GUID: GUID-B7BD417C-7B02-4D19-9B9A-8427AE8D20F4
Visible to Intel only — GUID: GUID-B7BD417C-7B02-4D19-9B9A-8427AE8D20F4
Microsoft Task Parallel Library* (TPL)
Microsoft Task Parallel Library* (TPL) in the Microsoft .NET* Framework is a combination of public types and APIs that allow addition of parallelism and concurrency on Windows* OS systems. For Intel Advisor users, use Microsoft TPL for C# and managed C++ libraries.
Microsoft TPL is a high-level parallel programming framework for .NET code to help you harness the performance of multi-core processors. It lets you specify logical parallelism instead of threads. That is, you specify potential parallelism - what can be run in parallel. The library decides the actual parallelism at run-time, matching it to the available hardware.
Microsoft TPL provides two main classes:
System.Threading.Tasks.Parallel: includes For and ForEach loops.
System.Threading.Tasks.Task: is the preferred way to express asynchronous operations.
Other classes are also available. For example, System.Collections.Concurrent provides for concurrent collections that do not require external locking.
You can use Microsoft TPL for introducing parallelism into either C# programs or managed C++ code.
Please refer to your Microsoft MSDN* help documentation for information about this parallel framework. For example: MSDN Library > .NET Development > .NET Framework 4 > .NET Framework Advanced Development > Parallel Programming > Task Parallel Library