python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
OpenMP thread spawn overhead
To learn more about thread spawn overhead in OpenMP, I've experimented with an empty nested loop with the inner loop parellelized and compared it to the same nested loop without multiprocessing.
time_...
Kaiyakha
Votes: 0
Answers: 0
Case of using OpenMP for multi-threading of a matrix factorization calculation of an existing serial code
I came across a code that uses a low-performance series for loop for calculating so-called "Crout factorization". If you need to know more I think the concept is similar to what is described...
Saeid
Votes: 0
Answers: 1
How to create new tasks with OpenMP while other tasks are processed?
I've been looking around for days now, and I couldn't find the explanation (and thus a solution) to my problem.
I have a file of millions of lines that I want to process independently. Each line repre...
user
Votes: 0
Answers: 1
OpenMP parallel loop much slower than regular loop
The whole program has been shrunk to a simple test:
const int loops = 1e10;
int j[4] = { 1, 2, 3, 4 };
time_t time = std::time(nullptr);
for (int i = 0; i < loops; i++) j[i % 4] += ...
Kaiyakha
Votes: 0
Answers: 1