Simple unary op for identity operations.
More...
#include <unary_expr.hpp>
|
|
static constexpr bool | linear = true |
| | Indicates if the operator is linear.
|
| |
|
static constexpr bool | thread_safe = true |
| | Indicates if the operator is thread safe.
|
| |
| template<vector_mode_t V> |
| static constexpr bool | vectorizable = true |
| | Indicates if the expression is vectorizable using the given vector mode. More...
|
| |
|
template<typename E > |
| static constexpr bool | gpu_computable = false |
| | Indicates if the operator can be computed on GPU.
|
| |
Simple unary op for identity operations.
Such an unary expr does not apply the operator but delegates to its sub expression.
◆ complexity()
| static constexpr int etl::identity_op::complexity |
( |
| ) |
|
|
inlinestatic |
Estimate the complexity of operator.
- Returns
- An estimation of the complexity of the operator
◆ vectorizable
template<vector_mode_t V>
| constexpr bool etl::identity_op::vectorizable = true |
|
static |
Indicates if the expression is vectorizable using the given vector mode.
- Template Parameters
-
The documentation for this struct was generated from the following file: