AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
axom::detail::TimedForAll< ExecSpace, KernelType > Struct Template Reference

Default implementation for timing axom::for_all. More...

#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/main/src/axom/core/execution/timed_for_all.hpp>

Static Public Member Functions

static void execute ([[maybe_unused]] const std::string &name, axom::IndexType n, KernelType &&kernel)
 Execute the for_all. More...
 

Detailed Description

template<typename ExecSpace, typename KernelType>
struct axom::detail::TimedForAll< ExecSpace, KernelType >

Default implementation for timing axom::for_all.

Member Function Documentation

◆ execute()

template<typename ExecSpace , typename KernelType >
static void axom::detail::TimedForAll< ExecSpace, KernelType >::execute ( [[maybe_unused] ] const std::string &  name,
axom::IndexType  n,
KernelType &&  kernel 
)
inlinestatic

Execute the for_all.

Parameters
nameThe name of the loop being timed.
nThe number it items in the loop.
kernelThe kernel to execute.

References AXOM_ANNOTATE_SCOPE.


The documentation for this struct was generated from the following file: