Low-Level Abstraction of Memory Access
llama::Copy< SrcMapping, DstMapping, SFINAE > Struct Template Reference

Generic implementation of copy defaulting to fieldWiseCopy. LLAMA provides several specializations of this construct for specific mappings. Users are encouraged to also specialize this template with better copy algorithms for further combinations of mappings, if they can and want to provide a better implementation. More...

#include <Copy.hpp>

Public Member Functions

template<typename SrcView , typename DstView >
void operator() (const SrcView &srcView, DstView &dstView, std::size_t threadId, std::size_t threadCount) const
 

Detailed Description

template<typename SrcMapping, typename DstMapping, typename SFINAE = void>
struct llama::Copy< SrcMapping, DstMapping, SFINAE >

Generic implementation of copy defaulting to fieldWiseCopy. LLAMA provides several specializations of this construct for specific mappings. Users are encouraged to also specialize this template with better copy algorithms for further combinations of mappings, if they can and want to provide a better implementation.

Definition at line 319 of file Copy.hpp.

Member Function Documentation

◆ operator()()

template<typename SrcMapping , typename DstMapping , typename SFINAE = void>
template<typename SrcView , typename DstView >
void llama::Copy< SrcMapping, DstMapping, SFINAE >::operator() ( const SrcView &  srcView,
DstView &  dstView,
std::size_t  threadId,
std::size_t  threadCount 
) const
inline

Definition at line 322 of file Copy.hpp.


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