The attached file fails with an internal error with the following compile flags
icpc -opt-report-phase=loop,vec,offload -axMIC-AVX512 bug.cxx
icpc (ICC) 16.0.0 20150326
Copyright (C) 1985-2015 Intel Corporation. All rights reserved.
OS RHEL 6.4
Are you expecting this to generate both avx512 and Mic knc code, choosing at run time? even if a documented feature it might not be implemented yet. I did get a partial response about making premier.intel.com accept a beta issue. Yes, it should give a better response if unable to execute.
Yes this is a snippet of a code that uses auto dispatch to compile both code paths and to choose at runtime. The compiler does not fail if you remove the -opt-report option.