IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
LogicalOrReg.h
Go to the documentation of this file.
1 // LogicalOrReg.h:
3 // -------------------
4 //
14 
15 #ifndef __IPSDKUTIL_INSTRUCTIONSET_LOGICAL_DETAIL_AVX512_LOGICALORREG_H__
16 #define __IPSDKUTIL_INSTRUCTIONSET_LOGICAL_DETAIL_AVX512_LOGICALORREG_H__
17 
22 
23 namespace ipsdk {
24 namespace simd {
25 namespace detail {
26 
29 
30 template <typename T>
32 {
33  static IPSDK_FORCEINLINE
35  act(const typename Avx512MaskType<T>::Type& in1, const typename Avx512MaskType<T>::Type& in2)
36  {
37  return in1 | in2;
38  }
39 
40  static IPSDK_FORCEINLINE
41  void
42  act(const typename Avx512MaskType<T>::Type& in1,
43  const typename Avx512MaskType<T>::Type& in2,
44  typename Avx512MaskType<T>::Type& out)
45  {
46  out = in1 | in2;
47  }
48 };
49 
52 
53 } // end of namespace detail
54 } // end of namespace simd
55 } // end of namespace ipsdk
56 
57 #endif // __IPSDKUTIL_INSTRUCTIONSET_LOGICAL_DETAIL_AVX512_LOGICALORREG_H__
Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
(including fundation and byte and word instructions)
Definition: InstructionSetTypes.h:51
Predefined mask types for Avx512 instruction set management.
eInstructionSet
Enumerate for processor instruction set description.
Definition: InstructionSetTypes.h:31
Definition: Avx512MaskTypes.h:36
Definition of import/export macro for library.
Definition: LogicalOrReg.h:30