14#include "arcane/utils/ArcanePrecomp.h"
17#include "arcane/utils/Iostream.h"
18#include "arcane/utils/FatalErrorException.h"
38template<
typename SimdRealType>
void
39_printSimd(std::ostream& o,
const SimdRealType& s)
41 for( Integer z=0, n=SimdRealType::BLOCK_SIZE; z<n; ++z ){
52#ifdef ARCANE_HAS_AVX512
54operator<<(std::ostream& o,
const AVX512SimdReal& s)
63operator<<(std::ostream& o,
const AVXSimdReal& s)
72operator<<(std::ostream& o,
const SSESimdReal& s)
80operator<<(std::ostream& o,
const EMULSimdReal& s)
89void SimdEnumeratorBase::
99 if (padding_size==size)
103 Int32 last_local_id = m_local_ids[size-1];
104 for( Integer k=size; k<padding_size; ++k )
105 if (m_local_ids[k]!=last_local_id)
106 ARCANE_FATAL(
"Bad padding value i={0} expected={1} value={2}",
107 k,last_local_id,m_local_ids[k]);
#define ARCANE_FATAL(...)
Macro envoyant une exception FatalErrorException.
bool arcaneIsCheck()
Vrai si on est en mode vérification.
Int32 Integer
Type représentant un entier.
Integer arcaneSizeWithPadding(Integer size)
Retourne la taille avec padding pour une taille size.
std::ostream & operator<<(std::ostream &ostr, eItemKind item_kind)
Opérateur de sortie sur un flot.
void arcaneCheckAlignment(const void *ptr, Integer alignment)
Vérifie que ptr est aligné sur alignment octets. Si ce n'est pas le cas, Sinon, lance une exception d...