28 template <vector_mode_t V>
34 template <
typename L,
typename R>
51 static constexpr
bool apply(
const T& lhs,
const T& rhs) noexcept {
62 template <
typename X,
typename Y,
typename YY>
67 auto t3 = force_temporary_gpu_dim_only_t<bool>(t1);
80 template <
typename X,
typename Y,
typename YY>
81 static YY&
gpu_compute(
const X& x,
const Y& y, YY& yy) noexcept {
97 static std::string
desc() noexcept {
Binary operator for elementwise logical OR computation.
Definition: logical_or.hpp:18
static std::string desc() noexcept
Returns a textual representation of the operator.
Definition: logical_or.hpp:97
static constexpr bool desc_func
Indicates if the description must be printed as function.
Definition: logical_or.hpp:21
static constexpr int complexity()
Estimate the complexity of operator.
Definition: logical_or.hpp:41
Root namespace for the ETL library.
Definition: adapter.hpp:15
static constexpr bool vectorizable
Indicates if the expression is vectorizable using the given vector mode.
Definition: logical_or.hpp:29
static YY & gpu_compute(const X &x, const Y &y, YY &yy) noexcept
Compute the result of the operation using the GPU.
Definition: logical_or.hpp:81
auto logical_or(LE &&lhs, RE &&rhs)
Builds an expression representing the elementwise logical or of lhs and rhs.
Definition: binary_expression_builder.hpp:529
static constexpr bool thread_safe
Indicates if the operator is thread safe or not.
Definition: logical_or.hpp:20
static constexpr bool gpu_computable
Indicates if the operator can be computed on GPU.
Definition: logical_or.hpp:35
constexpr size_t size(const E &expr) noexcept
Returns the size of the given ETL expression.
Definition: helpers.hpp:108
EGBLAS wrappers for the or operation.
static constexpr bool apply(const T &lhs, const T &rhs) noexcept
Apply the unary operator on lhs and rhs.
Definition: logical_or.hpp:51
decltype(auto) smart_gpu_compute_hint(E &expr, Y &y)
Compute the expression into a representation that is GPU up to date.
Definition: helpers.hpp:368
static auto gpu_compute_hint(const X &x, const Y &y, YY &yy) noexcept
Compute the result of the operation using the GPU.
Definition: logical_or.hpp:63
static constexpr bool linear
Indicates if the operator is linear or not.
Definition: logical_or.hpp:19