hello all,
is it suitable parallelizing loops containing function call(s). or is it much more convenient parallelization of loops which are doing basic operation inside.
for example is it suitable putting parallelization directives as below ?
main(){
..
#omp paralel ..
for (i=0;i<100;i++){
a[i] = foo(&datatype , ...);
...
}
..
}
int foo(datatype *a,...){
//doing complex operations here
//calling other functions etc.
}
Regards