Wednesday, January 9, 2008

Parallelization

I've been looking into methods for parallelizing the code for the project. So far most of the stuff that I have found has been for C++ or some other language, I am having trouble finding something for C.

For us to be able to parallelize a for loop, we basically just have to make sure that all of the iterations can be performed independently and none depend on the next/previous iteration.

Dheeraj recommended looking at Threading Building Blocks (TBB) which come from Intel.
I started reading through their website and they have some examples and tutorials which seem fairly helpful. I'm going to read up on it some more and see if I can go through some simple examples to get used to the syntax and see if it will be possible to use this for our code. (It says that it is for C++)

No comments: