walberla::simd Namespace Reference

Namespaces

 avx
 
 avx2
 
 scalar
 

Classes

struct  aligned_allocator
 STL-compliant allocator that allocates aligned memory. More...
 
struct  is_vector4_type
 
struct  is_vector4_type< scalar::double4_t >
 

Functions

template<class T1 , size_t A1, class T2 , size_t A2>
bool operator== (const aligned_allocator< T1, A1 > &, const aligned_allocator< T2, A2 > &)
 Checks whether two aligned allocators are equal. More...
 
template<class T1 , size_t A1, class T2 , size_t A2>
bool operator!= (const aligned_allocator< T1, A1 > &, const aligned_allocator< T2, A2 > &)
 Checks whether two aligned allocators are not equal. More...
 
bool available ()
 
template<typename VEC4 >
std::enable_if< is_vector4_type< VEC4 >::value, std::ostream & >::type operator<< (std::ostream &os, VEC4 v)
 

Function Documentation

◆ available()

bool walberla::simd::available ( )
inline

◆ operator!=()

template<class T1 , size_t A1, class T2 , size_t A2>
bool walberla::simd::operator!= ( const aligned_allocator< T1, A1 > &  ,
const aligned_allocator< T2, A2 > &   
)

Checks whether two aligned allocators are not equal.

Two allocators are equal if the memory allocated using one allocator can be deallocated by the other.

Returns
Always false.

◆ operator<<()

template<typename VEC4 >
std::enable_if<is_vector4_type<VEC4>::value, std::ostream&>::type walberla::simd::operator<< ( std::ostream &  os,
VEC4  v 
)

◆ operator==()

template<class T1 , size_t A1, class T2 , size_t A2>
bool walberla::simd::operator== ( const aligned_allocator< T1, A1 > &  ,
const aligned_allocator< T2, A2 > &   
)

Checks whether two aligned allocators are equal.

Two allocators are equal if the memory allocated using one allocator can be deallocated by the other.

Returns
Always true.