Generic wrapper for the make_pair() function.
More...
#include <MakePair.h>
|
| template<typename T1, typename T2> |
| BLAZE_ALWAYS_INLINE BLAZE_DEVICE_CALLABLE decltype(auto) | operator() (T1 &&a, T2 &&b) const |
| | Returns the result of the make_pair() function for the given objects/values.
|
| template<typename T1, typename T2> |
| BLAZE_ALWAYS_INLINE decltype(auto) | load (T1 &&a, T2 &&b) const |
| | Returns the result of the make_pair() function for the given SIMD vectors.
|
|
| template<typename T1, typename T2> |
| static constexpr bool | simdEnabled () |
| | Returns whether SIMD is enabled for the specified data types T1 and T2.
|
| static constexpr bool | paddingEnabled () |
| | Returns whether the operation supports padding, i.e. whether it can deal with zeros.
|
Generic wrapper for the make_pair() function.
◆ load()
template<typename T1, typename T2>
Returns the result of the make_pair() function for the given SIMD vectors.
- Parameters
-
| a | The left-hand side SIMD vector. |
| b | The right-hand side SIMD vector. |
- Returns
- The result of the make_pair() function for the given SIMD vectors.
◆ operator()()
template<typename T1, typename T2>
Returns the result of the make_pair() function for the given objects/values.
- Parameters
-
| a | The left-hand side object/value. |
| b | The right-hand side object/value. |
- Returns
- The result of the make_pair() function for the given objects/values.
◆ paddingEnabled()
| constexpr bool blaze::MakePair::paddingEnabled |
( |
| ) |
|
|
inlinestaticconstexpr |
Returns whether the operation supports padding, i.e. whether it can deal with zeros.
- Returns
- true in case padding is supported, false if not.
◆ simdEnabled()
template<typename T1, typename T2>
| constexpr bool blaze::MakePair::simdEnabled |
( |
| ) |
|
|
inlinestaticconstexpr |
Returns whether SIMD is enabled for the specified data types T1 and T2.
- Returns
- true in case SIMD is enabled for the data types T1 and T2, false if not.
The documentation for this struct was generated from the following file: