Skip to content

Compiler Flags for Different Architectures

Jeffrey Young edited this page Mar 29, 2019 · 19 revisions

Last updated: 3/29/19

This page lists flags that are used to compile Spatter and STREAM comparisons on different architectures.

STREAM

Some general notes for STREAM can be found at this blog post:

Additionally:

  • ICC generally will generate the best quality code for STREAM and Spatter on Intel architectures.
  • Streaming loads/stores may be needed to increase performance to "peak" performance.

STREAM flags per architecture

Common flags for Intel compilers with OpenMP backend: -fast -qopenmp -qopenmp-link=static -fargument-noalias

TBD - when do we use -ffreestanding?

Architecture Short Name Compiler Flags Notes
Sandy Bridge SNB icc -march=sandybridge
Broadwell BDW icc -march=broadwell
Skylake SKL icc -march=skylake
Skylake with AVX512 SKL icc -march=skylake-avx512

Clone this wiki locally