The simultaneous use of more than one CPU or processor core to execute a program or multiple computational threads

learn more… | top users | synonyms (5)

0
votes
0answers
22 views

Making multiple API calls in parallel using Python (IPython)

I am working with Python (IPython & Canopy) and a RESTful content API, on my local machine (Mac). I have an array of 3000 unique IDs to pull data for from the API and can only call the API with ...
-1
votes
0answers
6 views

Parallelizing with OpenMP

I have problems parallelizing this code, I think I have to use the critical clause but I don't know how... ... for(i=0; i<10; i++) array[i] = 0; for(i=0; i<5000; i++) for(j=0; j<5000; ...
0
votes
2answers
32 views

Does OpenMP atomic apply to line, to variable name or to actual memory address?

The way I understand the explanations on the web about the OpenMP atomic directive in C++ is that they apply to specific memory locations, designated by some variable (or its pointer?). So when I ...
0
votes
1answer
22 views

using prefix sum - parallel or sequential

I have been wondering about when to use Parallel prefix sum instead of using sequential buildup. The algorithm I am using constructs parallel sums but I read somewhere that for small number of ...
1
vote
0answers
28 views

Deadlock in parallel quicksort in Go

As an exercise I'm trying to implement a parallel version of quicksort in Go. This is what I have so far: func quicksort(nums []int, ch chan int, level int, threads int) { level *= 2; if ...
1
vote
2answers
34 views

Fox Algorithm with MPI

I am coding an implementation for Fox Algorithm with MPI in C. I already subdivised my global_matrix into smaller blocks. So each process has a little block of matrix A and matrix B. However I have ...
0
votes
2answers
41 views

can i access a camera frame in two functions running in parallel?

i am working on face detection - recognition project in opencv c++ , the code works really slow , there is a lag between the real camera feed and the processed feed , i dont want that lag to be ...
0
votes
1answer
56 views

CUDA error when handling large input

So I have a rather strange error that is happening. I have a kernel that is supposed to alter the value of every element in an array. As of right now I only test with launching one thread. ...
5
votes
3answers
4k views

Multithreading vs multiprocessing

I am new to this kind of programming and need your point of view. I have to build an application but I can get it to be fast enough. I already tried Intel TBB, and it is easy to use, but I have never ...
2
votes
1answer
90 views

Why won't CPU go over 25% when build says “loop parallelized”

Was testing and timing some computations (was trying to find a for loop that runs 4 times faster when paralleled with all 4 threads on my processor) when I noticed that this one won't run at 100% cpu ...
1
vote
1answer
24 views

Parallelizing a data dependence loop with OpenMP

I have to parallelize the following code, the data dependence is i -> i-3 for(i=3; i<N2; i++) for(j=0; j<N3; j++) { D[i][j] = D[i-3][j] / 3.0 + x + E[i]; if ...
0
votes
1answer
34 views

ruby, rake can't convert module into string

I'm trying to make use of the parallel_tests gem but when I try to execute "rake parallel:create" I get an error message "can't convert Module into string". Am I including the file wrong? Here is my ...
106
votes
9answers
16k views

Concurrency vs Parallelism - What is the difference?

Concurrency vs Parallelism - What is the difference? Any examples
0
votes
0answers
28 views

Using MPI with parallel HDF5

I am new to MPI and I try to run it with parallel HDF5 . So I setup a cluster of 2 nodes with GFS2 and DRBD and in my shared folder I compiled an example provided by the HDF group : ...
0
votes
2answers
26 views

Specifying the number of CPUs to use in a multicore system

I already know how to use the runtime method to get the number of available processors (in java) but what I need is how to control the number of processors to be used during each round of test or ...

1 2 3 4 5 289
15 30 50 per page