![]() |
Block-Structured AMR Software Framework
|
Functions | |
| __host__ __device__ bool | any_of (bool const v) |
| template<typename T > | |
| __host__ __device__ detail::where_expression< T > | where (bool const mask, T &value) |
| template<typename T > | |
| __host__ __device__ T | select (bool const mask, T const &true_val, T const &false_val) |
|
inline |
True if the boolean value is true (scalar identity fallback for simd any_of)
Example:
|
inline |
Vectorized ternary operator (scalar fallback for simd select)
|
inline |
Masked assignment expression (scalar fallback for simd where)
Returns an expression object whose assignment operator conditionally updates value only when mask is true.
Example: