I'm trying to use ICC as a target for program synthesis. With machine generated code its important that I not get extra vectorization related error messages that cause the system to break. With loop pragmas we have both hints that help vectorization (#pragma ivdep) and mandates that insist upon it (#pragma simd). However, it seems like with elemental functions (__declspec(vector)) there is no way to achieve graceful failure (i.e. fallback to sequential code) when a problem arises.
In particular I get "unsupported data type" errors from the elemental function. Is there any way to turn these into warnings?
The alternative is to make my program synthesis tool understand all the ICC rules for what is and is not vectorizable, which seems like a seriously bad idea.