Code for parallelizing standard C code

General OpenMP discussion

Code for parallelizing standard C code

Postby jain_sangam » Fri Oct 28, 2011 12:32 pm

I have been thinking of writing a code to embed OpenMP directive and command in standard C code. I have planned the work as follows:

1. Detecting Loop and the variable inside..
2. Checking the data dependency to decide whether loop can be parallelizable or not
3. Embedding of openMP directive

4. This can be done section of code too..(segmenting the code, and checking data dependency) ......

Please give your valuable inputs. Let me know if i am doing something wrong.

Return to Using OpenMP

Who is online

Users browsing this forum: Google [Bot] and 8 guests