deal.II version GIT relicensing-2167-g9622207b8f 2024-11-21 12:40:00+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
internal::VectorizedArrayWidthSpecifier< Number > Struct Template Reference

#include <deal.II/base/numbers.h>

Static Public Attributes

static constexpr unsigned int max_width = 1
 

Detailed Description

template<typename Number>
struct internal::VectorizedArrayWidthSpecifier< Number >

A helper class specifying the maximal vector length of VectorizedArray for a specified data type Number for the given processor architecture and optimization level.

The value of the maximal vector length is used as default template argument in VectorizedArray, such that VectorizedArray<Number> is equivalent to VectorizedArray<Number, VectorizedArrayWidthSpecifier<Number>::max_width>.

Note
This class is the default implementation for data types for which no vectorization is supported.
Template Parameters
NumberThe underlying data type for which one wants to find out the maximal length of hardware supported vectors.

Definition at line 74 of file numbers.h.

Member Data Documentation

◆ max_width

template<typename Number >
constexpr unsigned int internal::VectorizedArrayWidthSpecifier< Number >::max_width = 1
staticconstexpr

Maximal vector length of VectorizedArray for an arbitrary type.

Definition at line 79 of file numbers.h.


The documentation for this struct was generated from the following file: