Nektar++
Public Member Functions | Static Public Attributes | List of all members
tinysimd::scalarMask Struct Reference

#include <scalar.hpp>

Inheritance diagram for tinysimd::scalarMask:
[legend]

Public Member Functions

void store (std::uint32_t *p) const
 
void load (const std::uint32_t *p)
 
 scalarT ()=default
 
 scalarT (const scalarT &rhs)=default
 
 scalarT (const vectorType &rhs)
 
- Public Member Functions inherited from tinysimd::scalarT< std::uint64_t >
 scalarT ()=default
 
 scalarT (const scalarT &rhs)=default
 
 scalarT (const vectorType &rhs)
 
scalarToperator= (const scalarT &)=default
 
void store (scalarType *p) const
 
void store (scalarType *p, flag) const
 
void load (const scalarType *p)
 
void load (const scalarType *p, flag)
 
void broadcast (const scalarType rhs)
 
void gather (const scalarType *p, const scalarT< U > &indices)
 
void scatter (scalarType *p, const scalarT< U > &indices) const
 
void fma (const scalarT< std::uint64_t > &a, const scalarT< std::uint64_t > &b)
 
scalarType operator[] (size_t) const
 
scalarTypeoperator[] (size_t)
 
void operator+= (scalarT< std::uint64_t > rhs)
 
void operator-= (scalarT< std::uint64_t > rhs)
 
void operator*= (scalarT< std::uint64_t > rhs)
 
void operator/= (scalarT< std::uint64_t > rhs)
 

Static Public Attributes

static constexpr scalarType true_v = true
 
static constexpr scalarType false_v = false
 
- Static Public Attributes inherited from tinysimd::scalarT< std::uint64_t >
static constexpr unsigned int width
 
static constexpr unsigned int alignment
 

Additional Inherited Members

- Public Types inherited from tinysimd::scalarT< std::uint64_t >
using scalarType = std::uint64_t
 
using vectorType = scalarType
 
using scalarArray = scalarType[width]
 
- Public Attributes inherited from tinysimd::scalarT< std::uint64_t >
vectorType _data
 

Detailed Description

Definition at line 358 of file scalar.hpp.

Member Function Documentation

◆ load()

void tinysimd::scalarMask::load ( const std::uint32_t *  p)
inline

Definition at line 378 of file scalar.hpp.

379 {
380 _data = static_cast<std::uint32_t>(*p);
381 }

References tinysimd::scalarT< std::uint64_t >::_data.

◆ scalarT() [1/3]

tinysimd::scalarT< T, typename >::scalarT ( )
inlinedefault

◆ scalarT() [2/3]

tinysimd::scalarT< T, typename >::scalarT ( const scalarT rhs)
inlinedefault

◆ scalarT() [3/3]

tinysimd::scalarT< T, typename >::scalarT ( const vectorType rhs)
inline

Definition at line 125 of file scalar.hpp.

125 : _data(rhs)
126 {
127 }

◆ store()

void tinysimd::scalarMask::store ( std::uint32_t *  p) const
inline

Definition at line 372 of file scalar.hpp.

373 {
374 *p = static_cast<std::uint32_t>(_data);
375 }

References tinysimd::scalarT< std::uint64_t >::_data, and CellMLToNektar.cellml_metadata::p.

Member Data Documentation

◆ false_v

constexpr scalarType tinysimd::scalarMask::false_v = false
staticconstexpr

Definition at line 364 of file scalar.hpp.

◆ true_v

constexpr scalarType tinysimd::scalarMask::true_v = true
staticconstexpr

Definition at line 363 of file scalar.hpp.