I'm trying to implement the listranking problem (known also by shortcutting) with omp to have the sums prefixes of the array W.
I don't know if i use correctly the flush pragma..
And ...
I am using C and Grand Central Dispatch to parallelize some heavy computations. How can I get the number of threads used by GCD? Also is it possible to know on ...
I have been working now for few days on a small C program which uses pthreads. I spent more or less all yesterday looking for a deadlock bug, but now I ...
I have a program which accepts 2 N-digit numbers, multiplies them using threads & prints the output.
The number of threads created here are 2 * N - 1.
whenever I run the ...
I have CUDA 2.1 installed on my machine and it has a graphic card with 64 cuda cores.
I have written a program in which I initialize simultaneously 30000 blocks (and 1 ...
How is this determined - is it by the number of threads defined or the amount of memory and where can it be changed? I read somewhere each thread is allocated ...
If I search for counting the number of threads an application has, all the answers involve external programs like top. I want to count the threads within the application itself.
I can't ...
There is no easy correct answer to the question. It really depends on if/whether your threads are ever going to be waiting for i/o (disk access, network, etc.) and how long those waits will be versus the cost of switching threads. If your processor core is only ever going to be waiting on data from RAM, then ...
I'm not downvoting you, but: BeginThreadAffinity/EndThreadAffinity (on regular .Net) usually improves the performance computationally intensive threads - so if the computer is dedicated to the execution of some parallelized heavy calculation, it makes sense to do this. Appearantly that automagic doesn't work as well as one would have liked, because I've experienced more than 20% improvement in execution time, something that ...