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
Post a Comment