c++ - Set of Intel flags for optimized release and debugging? -


i want build application using icpc. when want test performances, set of flags use cmake (i'm using avx2 architecture on linux machine):

-o3 -xcore-avx2 -qopenmp -parallel -ipo -no-prec-div -ansi-alias 

instead, when want debug and/or test how parallelized intel tools (e.g. intel advisor, intel vtune amplifier, etc.) add set of flags (combined ones above):

-g -bdynamic -parallel-source-info=2 -qopenmp-link dynamic -debug inline-debug-info -shared-intel 

do think optimize more? suggestion more welcome!


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -