Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
AMReX_ConstexprFor.H File Reference

Compile-time unrolled loop utility. More...

#include <AMReX_Config.H>
#include <AMReX_GpuQualifiers.H>
#include <AMReX_Extension.H>
#include <type_traits>

Go to the source code of this file.

Namespaces

namespace  amrex
 

Functions

template<auto I, auto N, class F >
__host__ __device__ constexpr void amrex::constexpr_for (F const &f)
 Compile-time unrolled loop from I (inclusive) to N (exclusive).
 

Detailed Description

Compile-time unrolled loop utility.