Search found 1 match

by JC1119
Fri Mar 11, 2016 4:29 pm
Forum: Using OpenMP - The Book and Examples
Topic: openmp dynamic scheduling
Replies: 0
Views: 22746

openmp dynamic scheduling

I'm new to openMP and parallel programming. Given a very simple program as following: #pragma omp parallel for num_threads(2) for(k = 1; k <= 16; ++k) a[k] = f(k); // this line costs T(k). And these are the cost functions: T(1) = 1, T(5)=5, T(9) = 9, T(13)=13 T(2) = 1, T(6)=3, T(10)=5, T(14)=7 T(3) ...