I have a code line that I think I can parallel somehow, e.g:
int f1(a,b){
.....
}
int f2(a1,b1,a2,b2){
//here we are calling f1 function twice
int k = f1(a1,b1) * f1(a2,b2);
.....
return k;
}
int main(){
int result = f2(.....);
}
Is there any way how to use "#pragma omp parallel" to call these f1 functions at the same time? And then of course put result in "k".