![]() That means, scheduling will be decided automatically by your machine. Will delegates the decision of the scheduling to the compiler and/or runtime system. Guidedĭepend on environment variable OMP_SCHEDULE we set in command line. This means that the iterations are not as balance as static method between each other.Ĭons: The dynamic scheduling type has higher overhead then the static scheduling type because it dynamically distributes the iterations during the runtime. As you probably already know, Fibonacci numbers are the integer sequence produced by the following relationship: F 0 0 F 1 1 F n F n-2 + F n-1 The resulting sequence is: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144. Pros: The dynamic scheduling type is appropriate when the iterations require different computational costs. You can see that thread 1 took on 10 iters while others took only 0-1.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |