IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
SetImpl.h
Go to the documentation of this file.
1 // SetImpl.h:
3 // ------------
4 //
14 
15 #ifndef __IPSDKUTIL_INSTRUCTIONSET_DETAIL_STD_SETIMPL_H__
16 #define __IPSDKUTIL_INSTRUCTIONSET_DETAIL_STD_SETIMPL_H__
17 
20 
21 namespace ipsdk {
22 namespace simd {
23 namespace detail {
24 
27 
28 template <typename T>
30  static IPSDK_FORCEINLINE void act(T* buffer, T value, ipUInt64 nbElts)
31  {
32  for(ipUInt64 i=0; i<nbElts; ++i)
33  buffer[i] = value;
34  }
35 };
36 
37 
40 
41 } // end of namespace detail
42 } // end of namespace simd
43 } // end of namespace ipsdk
44 
45 #endif // __IPSDKUTIL_INSTRUCTIONSET_DETAIL_STD_SETIMPL_H__
Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
uint64_t ipUInt64
Base types definition.
Definition: BaseTypes.h:55
Definition: SetImpl.h:29
eInstructionSet
Enumerate for processor instruction set description.
Definition: InstructionSetTypes.h:31
Definition of import/export macro for library.
compiler optimisations only
Definition: InstructionSetTypes.h:34