14#include "arcane/utils/ArcanePrecomp.h"
17#include "arcane/utils/Iostream.h"
18#include "arcane/utils/FatalErrorException.h"
41 template <
typename SimdRealType>
void
42 _printSimd(std::ostream& o,
const SimdRealType& s)
44 for (
Integer z = 0, n = SimdRealType::BLOCK_SIZE; z < n; ++z) {
55#ifdef ARCANE_HAS_AVX512
92void SimdEnumeratorBase::
102 if (padding_size == size)
106 Int32 last_local_id = m_local_ids[size - 1];
107 for (
Integer k = size; k < padding_size; ++k)
108 if (m_local_ids[k] != last_local_id)
109 ARCANE_FATAL(
"Bad padding value i={0} expected={1} value={2}",
110 k, last_local_id, m_local_ids[k]);
#define ARCANE_FATAL(...)
Macro throwing a FatalErrorException.
Vectorization of reals using AVX512 vectorization.
Real vectorization using emulation.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
bool arcaneIsCheck()
True if running in check mode.
AVXSimdX4Real AVXSimdReal
Vector of 'double' in SSE implementation.
Int32 Integer
Type representing an integer.
Integer arcaneSizeWithPadding(Integer size)
Returns the size with padding for a size size.
SSESimdX4Real SSESimdReal
Vector of 'double' in SSE implementation.
std::ostream & operator<<(std::ostream &ostr, eItemKind item_kind)
Output operator for a stream.
void arcaneCheckAlignment(const void *ptr, Integer alignment)
Checks that ptr is aligned on alignment bytes. If not, throws a BadAlignmentException.
std::int32_t Int32
Signed integer type of 32 bits.