12#ifndef ARCANE_UTILS_FORLOOPRANGES_H
13#define ARCANE_UTILS_FORLOOPRANGES_H
17#include "arccore/base/ForLoopRanges.h"
28template <
typename IndexType,
template <
int T,
typename>
class LoopBoundType,
29 typename Lambda,
typename... ReducerArgs>
31arcaneSequentialFor(LoopBoundType<1, IndexType> bounds,
const Lambda& func, ReducerArgs... reducer_args)
33 for (
Int32 i0 = bounds.template lowerBound<0>(); i0 < bounds.template upperBound<0>(); ++i0)
39template <
typename IndexType,
template <
int T,
typename>
class LoopBoundType,
typename Lambda>
inline void
46template <
typename IndexType,
template <
int T,
typename>
class LoopBoundType,
typename Lambda>
inline void
53template <
typename IndexType,
template <
int,
typename>
class LoopBoundType,
typename Lambda>
inline void
static void applyReducerArgs(ReducerArgs &... reducer_args)
Applique les fonctors des arguments additionnels.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
void arcaneSequentialFor(LoopBoundType< 1, IndexType > bounds, const Lambda &func, ReducerArgs... reducer_args)
Applique le fonctor func sur une boucle 1D.
void arccoreSequentialFor(LoopBoundType< 1, IndexType > bounds, const Lambda &func, ReducerArgs... reducer_args)
Applique le fonctor func sur une boucle 1D.
std::int32_t Int32
Type entier signé sur 32 bits.