waLBerla 7.2
Loading...
Searching...
No Matches
walberla::simd Namespace Reference

Namespaces

namespace  avx
 
namespace  avx2
 
namespace  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.
 
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.
 
bool available ()
 
template<typename VEC4 >
requires is_vector4_type<VEC4>::value
std::ostream & 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 >
requires is_vector4_type<VEC4>::value
std::ostream & 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.