Click here to Skip to main content
15,868,154 members
Everything / High Performance Computing / Parallelization

Parallelization

parallelization

Great Reads

by Viktor Kovács
Parallel foreach loop implementation for nested loops
by Bruno van Dooren
How to use APCs to perform user interface updates
by Bruno van Dooren
In this article, I will explain Asynchronous Procedure Calls (APCs), their uses and their pitfalls
by Bruno van Dooren
How to improve time consuming operations through parallelization, when multiple similar operations need to be performed

Latest Articles

by Bruno van Dooren
How to use APCs to perform user interface updates
by Bruno van Dooren
In this article, I will explain Asynchronous Procedure Calls (APCs), their uses and their pitfalls
by Bruno van Dooren
How to improve time consuming operations through parallelization, when multiple similar operations need to be performed
by Pedro Costa Developer
Parallel unit-tests execution with MSTest v2

All Articles

Sort by Updated

Parallelization 

5 Oct 2022 by Bruno van Dooren
How to improve time consuming operations through parallelization, when multiple similar operations need to be performed
2 Apr 2023 by Bruno van Dooren
In this article, I will explain Asynchronous Procedure Calls (APCs), their uses and their pitfalls
18 Apr 2018 by Dave Elliott
A custom framework that will parallelize data processing through a pipeline framework
26 Oct 2021 by Greg Utas
The right side of this page contains links to "Related Questions". You may find some useful information there. It isn't even obvious to me, depending on what f() and g() do, that parallel execution will produce the same result as serial...
9 Aug 2020 by hck007
I am optimizing native version of matrix multiplication and I want to optimize it with OpenMP, SIMD and loop reordering. The following code is my attempt. My question is how I can modify the code so that I can avoid expensive memory write which...
25 Jul 2019 by Herman<T>.Instance
Your variable _database seems to be defined outside the parallel.foreach. Then each thread is using the same object. You should instantiate _database IN the parallel.foreach. Then each thread has it's own call to the database.
9 Aug 2020 by KarstenK
check that you only calculate what you need and extract ANY constant value out of the loops and use const where possible. Like in for(int x = J / 4 * 4; x data[i * J + x] += mat1 -> data[i * K + k] * mat2 -> data[k * J + x];...
24 Nov 2017 by Lilyanaa
Hello, from this code I want to distribute one row of 2D array to all processor for example p1 =1,2,3,4 p2=5,6,7,8 p3=9,10,11,12 p4=13,14,15,16 when run the program (mpirun -np 4 ./a) MPI_Scatter is work fine but MPI_Reduce cause stopping in terminal what is the wrong? What I have tried: ...
24 Mar 2021 by Member 15117000
I have an problem in a parallelised code where I need to reduce values from all processors to the root process, summing them and then assigning the sum to an array element. I would like to do this in a loop such that each MPI_Reduce() call...
26 Oct 2021 by Member 15407141
I have given the following 2 snippets: snippet(1): int i=0; while(i
17 Mar 2020 by Michael Breeden
Hopefully I ask this right... but then it is about threading. We have an older version (9.08) of the Ghostscript dll that was compiled with the thread safe flag. Without it, all my tests up to version 9.20 have shown that of 10 simultaneous...
2 Apr 2019 by Pedro Costa Developer
Parallel unit-tests execution with MSTest v2
17 Mar 2020 by Richard MacCutchan
Assuming the entire process is blocked by the semaphore, then your assumption is correct. If the latest version(s) of Ghostscript are not thread safe then there is not much you can do. You could try running the conversions as separate processes,...
25 Oct 2021 by Richard MacCutchan
There is not space or time here to teach you how to modify that code so it uses threads. See std::thread - cppreference.com[^].
17 Mar 2020 by RickZeeland
Here is some information from the writer of C# in a Nutshell: Threading in C# - Part 2 - Basic Synchronization[^] So a Mutex, if implemented correctly, is not only thread-safe but also works system wide for applications.
25 Jul 2019 by Sanjyot Agureddy
I have a situation here, I need to insert a record in 10 tables and that's need to b atomic in nature hence I am using transaction, this need to be done for a collection of records and need to have better performance hence can't use sequential approach. However the SQL Transactions are causing...
10 Jul 2018 by Viktor Kovács
Parallel foreach loop implementation for nested loops