Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // if(n&256){
- // // #pragma omp parallel default(none) private(i,k,j) shared(n,A,B,C)
- // // #pragma omp for schedule(dynamic, 4)
- // #pragma omp parallel for default(none) schedule(dynamic,4) private(k,j) shared(n,A,B,C) num_threads(7)
- // for(i=n-1 ; i>=0 ; i--){
- // double *pA = A+(n*i);
- // for(k=0;k<(i+1);k++){
- // double *pC = C+n*k;
- // // double *pB = B+n*i+k
- // int lim2 = MIN(n, k+(n>>4));
- // int lim1 = MAX(0,k-(n>>4)+1);
- // register double temp = B[n*i+k];
- // for(j=lim1;j<lim2;j++){
- // *(pA+j) += temp**(pC+j);
- // }
- // }
- // }
- // return;
- // }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement