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.