Blaze 3.9
blaze::HasSIMDBitor< T1, T2 > Struct Template Reference

Availability of a SIMD bitwise OR ('|') for the given data types. More...

#include <HasSIMDBitor.h>

Inherits blaze::IntegralConstant< T, N >.

Detailed Description

template<typename T1, typename T2>
struct blaze::HasSIMDBitor< T1, T2 >

Availability of a SIMD bitwise OR ('|') for the given data types.

Depending on the available instruction set (SSE, SSE2, SSE3, SSE4, AVX, AVX2, MIC, ...), and the used compiler, this type trait provides the information whether a SIMD bitwise OR ('|') operation exists for the two given data types T1 and T2 (ignoring the cv-qualifiers). In case the SIMD bitwise OR is available, the value member constant is set to true, the nested type definition Type is TrueType, and the class derives from TrueType. Otherwise value is set to false, Type is FalseType, and the class derives from FalseType. The following example assumes that AVX2 is available:

blaze::HasSIMDBitor< long, long > // Is derived from TrueType
blaze::HasSIMDBitor< double, double > // Is derived from FalseType
Availability of a SIMD bitwise OR ('|') for the given data types.
Definition: HasSIMDBitor.h:102

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