I have a routine which I expect to be heavily vectorizable, it has many counting loops of what should be vectorizable code.
But I get the following message:
sgp4only.cpp(117): (col. 75) remark: routine skipped: no vectorization candidates.
This message is not helpful to me, it doesn't point me where to look so I'm trying to find things in the documentation to try and no luck so far.
I'm running: Version 10.1 of the compiler.
Before I start posting code for people to analyse I'd like to know if there is a way to get better diagnostics or what this remark really means. I'd think in ANY routine that had a loop I ought to get a more specific remark than this.
That message usually means that your code really cannot be vectorized -- having a loop is not a guarantee that the compiler will be able to vectorize it. For more detailed vectorization diagnostics use -Qvec_report:2 or -Qvec_report:3. You might also consider version 11 of the compiler which should be able to vectorize more code than version 10.1.
--------
If you find my post helpfull, please rate it and/or select it as a best answer where applies. Thank you.