E.V.E
v2023.02.15
 
Loading...
Searching...
No Matches
eve::simd_predicate Concept Reference

Specifies a predicate that returns a logical value. More...

#include <eve/concept/invocable.hpp>

Detailed Description

Specifies a predicate that accepts simd values of the same cardinal and returns a logical simd value of the same cardinal.

Template Parameters
OpThe predicate to check
ArgsThe arguments passed to the predicate

Concept definition

template<typename Op, typename... Args>
concept eve::simd_predicate = (simd_value<Args> && ...) && requires (Op op, Args&& ... args) {
{ op(std::forward<Args>(args)...) } -> logical_simd_value;
{ op(std::forward<Args>(args)...) } -> same_lanes<Args...>;
}
Specify that a type represents a logical SIMD value. The concept logical_simd_value<T> is satisfied i...
Definition simd.hpp:46
Specifies a predicate that returns a logical value.
Definition invocable.hpp:134
Specifies that a type is a SIMD type. The concept simd_value<T> is satisfied if and only if T satisfi...
Definition vectorized.hpp:34
typename decltype(detail::as_translated_type(as< T >{}))::type translate_t
Returns the final translated type of T.
Definition translation.hpp:107