Generic wrapper for the uniform right-shift operation.
More...
#include <ShiftRI.h>
|
| | ShiftRI (int count) |
| | Constructor of the ShiftRI functor.
|
| template<typename T> |
| BLAZE_ALWAYS_INLINE decltype(auto) | operator() (T &&a) const |
| | Returns the result of the uniform right-shift operation for the given objects/values.
|
| template<typename T> |
| BLAZE_ALWAYS_INLINE decltype(auto) | load (const T &a) const |
| | Returns the result of the uniform right-shift operation for the given SIMD vector.
|
|
| template<typename T> |
| static constexpr bool | simdEnabled () |
| | Returns whether SIMD is enabled for the specified data type T.
|
| static constexpr bool | paddingEnabled () |
| | Returns whether the operation supports padding, i.e. whether it can deal with zeros.
|
|
|
int | count_ |
| | The number of bits to shift.
|
Generic wrapper for the uniform right-shift operation.
◆ ShiftRI()
| blaze::ShiftRI::ShiftRI |
( |
int | count | ) |
|
|
inlineexplicit |
Constructor of the ShiftRI functor.
- Parameters
-
| count | The number of bits to shift. |
◆ load()
Returns the result of the uniform right-shift operation for the given SIMD vector.
- Parameters
-
| a | The SIMD vector to be shifted. |
- Returns
- The result of the uniform right-shift operation for the given SIMD vector.
◆ operator()()
Returns the result of the uniform right-shift operation for the given objects/values.
- Parameters
-
| a | The given object/value to be shifted. |
- Returns
- The result of the uniform right-shift operation for the given objects/values.
◆ paddingEnabled()
| constexpr bool blaze::ShiftRI::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 T>
| constexpr bool blaze::ShiftRI::simdEnabled |
( |
| ) |
|
|
inlinestaticconstexpr |
Returns whether SIMD is enabled for the specified data type T.
- Returns
- true in case SIMD is enabled for the data type T, false if not.
The documentation for this struct was generated from the following file: