IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
ifElse0.h
Go to the documentation of this file.
1 // ifElse0.h:
3 // -----------------
4 //
14 
15 #ifndef __IPSDKUTIL_INSTRUCTIONSET_LOGICAL_IFELSE0_H__
16 #define __IPSDKUTIL_INSTRUCTIONSET_LOGICAL_IFELSE0_H__
17 
19 
25 
26 namespace ipsdk {
27 namespace simd {
28 
31 
33 template <eInstructionSet::domain instructionSet,
34  ePackType::domain packType,
35  typename T>
36 IPSDK_FORCEINLINE
37 BasePack<packType, T>
39  const BasePack<packType, T>& in)
40 {
42 }
43 
44 template <eInstructionSet::domain instructionSet,
45  ePackType::domain packType,
46  typename T>
47 IPSDK_FORCEINLINE
48 void
49 ifElse0(const BaseMaskPack<packType, T>& mask,
50  const BasePack<packType, T>& in,
51  BasePack<packType, T>& out)
52 {
53  detail::IfElse0Pack<instructionSet, T>::act(mask, in, out);
54 }
55 
58 
59 } // end of namespace simd
60 } // end of namespace ipsdk
61 
62 #endif // __IPSDKUTIL_INSTRUCTIONSET_LOGICAL_IFELSE0_H__
Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
structure containing set of masks for vectorized operations
Definition: BaseMaskPackDecl.h:29
BaseMaskPack class; defines a set of masks; the number of masks in this set depends on the type of th...
BasePack class; defines a set of scalars (for instruction set "standard") or registers (for all other...
IPSDK_FORCEINLINE BasePack< packType, T > ifElse0(const BaseMaskPack< packType, T > &mask, const BasePack< packType, T > &in)
ifElse0 function; TODO
Definition: ifElse0.h:38
defines template structures PromotedType<T1, T2> and PromotedType3<T1, T2, T3>; their attribute Type ...
Definition of import/export macro for library.
Definition: IfElse0Pack.h:30
structure containing intrinsic registers used to store vectorized data
Definition: BasePackDecl.h:29