- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I am wondering what is the default value of chunk size? I ask this because I am wondering what would happen when schedule is runtime and through omp_set_schedule assigns a number less than unity for the chunksize (by mistake).
Abhi
I am wondering what is the default value of chunk size? I ask this because I am wondering what would happen when schedule is runtime and through omp_set_schedule assigns a number less than unity for the chunksize (by mistake).
Abhi
Link Copied
6 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I reported this to premier support but did not get an answer to the question....
Abhi
Abhi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is the Premier Support issue number?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
666229. You can see that the answer given is not what I have asked.
Abhi
Abhi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It may have been difficult for someone who may not be fluent in English to guess what you meant to ask. OpenMP standard dictates what default chunk sizes are; I don't think it says what happens or specifies any required diagnostic when you set a negative value at run time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tim
>>> I don't think it says what happens or specifies any required diagnostic when you set a negative value at run time.
That's why we want to know what Intel Fortran does. May be the behavior is of the type -- "at the mercy of compiler" i.e. unpredictable.
I understand the language barrier and definitely respect that. But a delay in getting answer can be difficult to explain to "management".
Abhi
>>> I don't think it says what happens or specifies any required diagnostic when you set a negative value at run time.
That's why we want to know what Intel Fortran does. May be the behavior is of the type -- "at the mercy of compiler" i.e. unpredictable.
I understand the language barrier and definitely respect that. But a delay in getting answer can be difficult to explain to "management".
Abhi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I asked the developers and received this response:
With static scheduling, chunk_size defaults to num_iters / num_threads (possibly +1).
With dynamic, chunk_size defaults to 1.
With guided, chunk_size defaults to 1, but that is just a lower bound on the actual assigned chunk size.
In our implementation, if the chunk size is < 1, we just set it to 1
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page