tfel
Loading...
Searching...
No Matches
StatisticsKeys.hxx File Reference

This file declares the opaque keys of the statistics of the computations on a batch of points, used by the generic-parallel interface for material properties. More...

#include "TFEL/Config/TFELConfig.hxx"
#include "MFront/GenericParallel/Types.h"

Namespaces

namespace  mfront
 This namespace contains material used to build the MFront code generator.
namespace  mfront::generic_parallel

Typedefs

using mfront::generic_parallel::atomic_size_type = ::mfront_gp_atomic_size_type
 a simple alias

Functions

TFEL_HOST_DEVICE constexpr atomic_size_type mfront::generic_parallel::makeKey (const atomic_size_type i, const atomic_size_type c) noexcept
TFEL_HOST_DEVICE constexpr atomic_size_type mfront::generic_parallel::getPointIndex (const atomic_size_type k) noexcept
TFEL_HOST_DEVICE constexpr atomic_size_type mfront::generic_parallel::getCheck (const atomic_size_type k) noexcept

Variables

constexpr atomic_size_type mfront::generic_parallel::no_event = ~atomic_size_type{0}
 value of a key meaning that no event occurred
constexpr unsigned int mfront::generic_parallel::check_bits = 16
 number of bits of the identifier of a check in a key. The other bits hold the index of the point.
constexpr atomic_size_type mfront::generic_parallel::maximal_number_of_checks
 maximal number of checks
constexpr atomic_size_type mfront::generic_parallel::maximal_number_of_points
 maximal number of points of a batch

Detailed Description

This file declares the opaque keys of the statistics of the computations on a batch of points, used by the generic-parallel interface for material properties.

Date
21/10/2026