Code source libre

openmp transformed code

Is there a option in icc to get omp transformed code (with runtime functions calls) generated by the compiler for any input omp code, Like the following example in the intel openmp runtime documentation. 

extern float foo( void );
int main () {
int i;
float r = 0.0;
#pragma omp parallel for schedule(dynamic) reduction(+:r)
for ( i = 0; i < 10; i ++ ) {
     r += foo();

Transformed code

S’abonner à Code source libre