Block-Structured AMR Software Framework
AMReX_MFParallelForG.H File Reference
#include <AMReX_Config.H>
#include <algorithm>
#include <cmath>
#include <limits>

Go to the source code of this file.

Namespaces

 amrex
 
 amrex::detail
 
 amrex::experimental
 
 amrex::experimental::detail
 
 amrex::experimental::detail::parfor_mf_detail
 

Functions

void amrex::detail::build_par_for_nblocks (char *&a_hp, char *&a_dp, std::pair< int *, int * > &blocks_x, BoxIndexer *&pboxes, Vector< Box > const &boxes, Vector< Long > const &ncells, int nthreads)
 
void amrex::detail::destroy_par_for_nblocks (char *hp, char *dp)
 
template<typename F >
AMREX_GPU_DEVICE auto amrex::experimental::detail::parfor_mf_detail::call_f (F const &f, int b, int i, int j, int k, int) noexcept -> decltype(f(0, 0, 0, 0))
 
template<int MT, typename MF , typename F >
std::enable_if_t< IsFabArray< MF >::value > amrex::experimental::detail::ParallelFor (MF const &mf, IntVect const &nghost, int ncomp, IntVect const &, bool, F const &f)
 
template<typename MF , typename F >
std::enable_if_t< IsFabArray< MF >::value > amrex::experimental::detail::ParallelFor (MF const &mf, IntVect const &nghost, int ncomp, IntVect const &ts, bool dynamic, F &&f)
 
template<typename MF , typename F >
std::enable_if_t< IsFabArray< MF >::value > amrex::experimental::detail::ParallelFor (MF const &mf, IntVect const &nghost, IntVect const &ts, bool dynamic, F &&f)