Skip to main content
Top

Hint

Swipe to navigate through the chapters of this book

2021 | OriginalPaper | Chapter

9. Vectorisation of the Model Problem

Author : Tobias Weinzierl

Published in: Principles of Parallel Scientific Computing

Publisher: Springer International Publishing

Abstract

With an understanding how computers handle floating-point calculations, we vectorise our model problem. For this, we first categorise different parallelisation programming techniques, before we commit to a pragma-based approach, i.e. rely on auto-vectorisation plus vectorisation hints to the compiler. Compilers can give us feedback where they succeed to vectorise, which helps us when we introduce OpenMP pragmas to our code. We wrap up the vectorisation topic with a discussion of showstoppers to vectorisation, such as aliasing, reductions, or function calls.

To get access to this content you need the following product:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt 90 Tage mit der neuen Mini-Lizenz testen!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe



 


Jetzt 90 Tage mit der neuen Mini-Lizenz testen!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt 90 Tage mit der neuen Mini-Lizenz testen!

Footnotes
1
In recent versions, Intel have replaced their icc compiler with a new compiler product built upon Clang/LLVM. These compilers are invoked via icx instead of icc. But Intel’s feedback is still obtained via -qopt-report.
 
2
I found on some systems that both Clang and LLVM tend to ignore the analysis request if you launch it without -O3 (or another explicit optimisation instruction). So specify an optimisation level explicitly to be on the safe side.
 
Metadata
Title
Vectorisation of the Model Problem
Author
Tobias Weinzierl
Copyright Year
2021
DOI
https://doi.org/10.1007/978-3-030-76194-3_9

Premium Partner