ATLAS Offline Software
Macros
Control/CxxUtils/CxxUtils/vectorize.h File Reference

Helper to enable auto-vectorization. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ATH_ENABLE_VECTORIZATION   class ATH_ENABLE_VECTORIZATION_SWALLOW_SEMICOLON
 

Detailed Description

Helper to enable auto-vectorization.

Author
scott snyder snyde.nosp@m.r@bn.nosp@m.l.gov
Date
May, 2019 Athena is usually built with -O2, which doesn't fully enable autovectorization in gcc (it does in clang).

Add ATH_ENABLE_VECTORIZATION; at the start of a compilation unit to enable it for this file.

Add ATH_ENABLE_FUNCTION_VECTORIZATION before a function to enable it for just this function

Definition in file Control/CxxUtils/CxxUtils/vectorize.h.

Macro Definition Documentation

◆ ATH_ENABLE_VECTORIZATION

#define ATH_ENABLE_VECTORIZATION   class ATH_ENABLE_VECTORIZATION_SWALLOW_SEMICOLON

Definition at line 34 of file Control/CxxUtils/CxxUtils/vectorize.h.