- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
when I use the inter C++ compiler to run analysis on my project, There are a lot of similar messages.
I want to known If I added this sentence before the loop, but sometimes the iterations of the loop is smaller then 256,
then just performance affected, or the result will go wrong?
In addition ,is there anyway to obtain the iterations first, then deciding whether to add this statement?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
#pragma loop count avg(256)
should be safe. In principle, if you set a min value, the code could fail if that value isn't met.
You might collect data on loop counts by prof-gen and prof-use
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
#pragma loop count avg(256)
should be safe. In principle, if you set a min value, the code could fail if that value isn't met.
You might collect data on loop counts by prof-gen and prof-use

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page