STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::metadata::detail::proc_unequal_offset Class Reference

Helper functor to check if this location has all the information which is required for doing local computation of coarsening. More...

Public Member Functions

 proc_unequal_offset (size_t moff)
 
template<typename View , typename Part , typename LocalMD >
void operator() (View const &view, Part const &part, long long i, LocalMD &local_md, long long &k) const
 Helper function to verify and obtain all the metadata information required for aligning the metadata at given position. More...
 

Public Types

typedef void result_type
 

Detailed Description

Helper functor to check if this location has all the information which is required for doing local computation of coarsening.

Member Function Documentation

◆ operator()()

template<typename View , typename Part , typename LocalMD >
void stapl::metadata::detail::proc_unequal_offset::operator() ( View const &  view,
Part const &  part,
long long  i,
LocalMD &  local_md,
long long &  k 
) const

Helper function to verify and obtain all the metadata information required for aligning the metadata at given position.

Parameters
viewView that is aligned.
partPartitioned metadata locality.
iIndex of the metadata that is going to be computed.
local_mdContainer for metadata locality that contains the resulting coarsened partitioned metadata locality.
kReturns the increment that needs to be applied to advance to the next metadata locality.

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