Class representing the choices of possible vectorization patterns for the Pairwise Functors. More...
#include <VectorizationPatternOption.h>


Public Types | |
| enum | Value { p1xVec , p2xVecDiv2 , pVecDiv2x2 , pVecx1 } |
| Possible choices for the vector patterns. More... | |
Public Member Functions | |
| VectorizationPatternOption ()=default | |
| Constructor. | |
| constexpr | VectorizationPatternOption (Value option) |
| Constructor from value. | |
| constexpr | operator Value () const |
| Cast to value. | |
Public Member Functions inherited from autopas::options::Option< VectorizationPatternOption > | |
| operator bool ()=delete | |
| Prevents cast to bool by deleting the conversion operator. | |
| std::string | to_string (bool fixedLength=false) const |
| Converts an Option object to its respective string representation. | |
Static Public Member Functions | |
| static std::set< VectorizationPatternOption > | getDiscouragedOptions () |
| Set of options that are very unlikely to be interesting. | |
| static std::map< VectorizationPatternOption, std::string > | getOptionNames () |
| Provides a way to iterate over the possible choices of Vectorization Patterns. | |
Static Public Member Functions inherited from autopas::options::Option< VectorizationPatternOption > | |
| static std::set< VectorizationPatternOption > | getAllOptions () |
| Provides a way to iterate over the possible options. | |
| static std::set< VectorizationPatternOption > | getMostOptions () |
| Provides a way to iterate over the possible options minus those that are very unlikely to be on interest. | |
| static size_t | maxStringLength () |
| Returns the number of characters in the string representation of the longest option. | |
| static OutputContainer | parseOptions (const std::string &optionsString) |
| Converts a string of options to a set of enums. | |
| static VectorizationPatternOption | parseOptionExact (const std::string &optionString) |
| Converts a string to an enum. | |
Class representing the choices of possible vectorization patterns for the Pairwise Functors.
Vectorization patterns refer to the specific strategies used to load and arrange particle data into SIMD registers. Different patterns can lead to different SIMD efficiency due to variation in memory access behavior and data locality.
For details and benchmarking results, see: https://doi.org/10.48550/arXiv.2512.03565
Possible choices for the vector patterns.
|
inlineconstexpr |
Constructor from value.
| option |
|
inlinestatic |
Set of options that are very unlikely to be interesting.
|
inlinestatic |
Provides a way to iterate over the possible choices of Vectorization Patterns.
|
inlineconstexpr |
Cast to value.