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?

CSENVME = -march=skylake-avx512 CONDESA = -march=sandybridge WTGPU2 = -march=broadwell SUPER = -march=skylake

Clone this wiki locally