XGC1
Functions
my_mirror_view.hpp File Reference
#include "space_settings.hpp"
#include "globals.hpp"
Include dependency graph for my_mirror_view.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class Device , typename T >
View< T *, CLayout, Device > my_mirror_view (const View< T *, CLayout, Device > &view, Device nd)
 
template<class NewDevice , class Device , typename T >
View< T *, CLayout, NewDevice > my_mirror_view (const View< T *, CLayout, Device > &view, NewDevice nd)
 
template<class Device , typename T >
View< T *, CLayout, Device > my_mirror_view (const View< T *, CLayout, Device > &view, Device nd, const View< T *, CLayout, Device > scratch_view)
 
template<class NewDevice , class Device , typename T >
View< T *, CLayout, NewDevice > my_mirror_view (const View< T *, CLayout, Device > &view, NewDevice nd, const View< T *, CLayout, NewDevice > scratch_view)
 
template<class Device , typename T >
View< T **, CLayout, Device > my_mirror_view (const View< T **, CLayout, Device > &view, Device nd)
 
template<class NewDevice , class Device , typename T >
View< T **, CLayout, NewDevice > my_mirror_view (const View< T **, CLayout, Device > &view, NewDevice nd)
 
template<class Device , typename T >
View< T **, CLayout, Device > my_mirror_view (const View< T **, CLayout, Device > &view, Device nd, const View< T **, CLayout, Device > scratch_view)
 
template<class NewDevice , class Device , typename T >
View< T **, CLayout, NewDevice > my_mirror_view (const View< T **, CLayout, Device > &view, NewDevice nd, const View< T **, CLayout, NewDevice > scratch_view)
 
template<class Device , typename T , typename T2 >
View< T *, CLayout, Device, Kokkos::MemoryTraits< Kokkos::Unmanaged > > my_mirror_view (const View< T *, CLayout, Device, Kokkos::MemoryTraits< Kokkos::Unmanaged >> &view, Device nd, const T2 &scratch_view)
 
template<class NewDevice , class Device , typename T , typename T2 >
View< T *, CLayout, NewDevice, Kokkos::MemoryTraits< Kokkos::Unmanaged > > my_mirror_view (const View< T *, CLayout, Device, Kokkos::MemoryTraits< Kokkos::Unmanaged >> &view, NewDevice nd, const T2 &scratch_view)
 
template<class Device , typename T , typename T2 >
View< T **, CLayout, Device, Kokkos::MemoryTraits< Kokkos::Unmanaged > > my_mirror_view (const View< T **, CLayout, Device, Kokkos::MemoryTraits< Kokkos::Unmanaged >> &view, Device nd, const T2 &scratch_view)
 
template<class NewDevice , class Device , typename T , typename T2 >
View< T **, CLayout, NewDevice, Kokkos::MemoryTraits< Kokkos::Unmanaged > > my_mirror_view (const View< T **, CLayout, Device, Kokkos::MemoryTraits< Kokkos::Unmanaged >> &view, NewDevice nd, const T2 &scratch_view)
 
template<class Device , typename T >
View< T *, CLayout, Device > my_mirror_scratch_view (const View< T *, CLayout, Device, Kokkos::MemoryTraits< Kokkos::Unmanaged >> &view, Device nd)
 
template<class NewDevice , class Device , typename T >
View< T *, CLayout, NewDevice > my_mirror_scratch_view (const View< T *, CLayout, Device, Kokkos::MemoryTraits< Kokkos::Unmanaged >> &view, NewDevice nd)
 
template<class Device , typename T >
View< T **, CLayout, Device > my_mirror_scratch_view (const View< T **, CLayout, Device, Kokkos::MemoryTraits< Kokkos::Unmanaged >> &view, Device nd)
 
template<class NewDevice , class Device , typename T >
View< T **, CLayout, NewDevice > my_mirror_scratch_view (const View< T **, CLayout, Device, Kokkos::MemoryTraits< Kokkos::Unmanaged >> &view, NewDevice nd)
 
template<class T1 , class T2 >
void mirror_copy (T1 &view_dest, const T2 &view_src)
 

Function Documentation

◆ mirror_copy()

template<class T1 , class T2 >
void mirror_copy ( T1 &  view_dest,
const T2 &  view_src 
)
Here is the caller graph for this function:

◆ my_mirror_scratch_view() [1/4]

template<class Device , typename T >
View<T**,CLayout,Device> my_mirror_scratch_view ( const View< T **, CLayout, Device, Kokkos::MemoryTraits< Kokkos::Unmanaged >> &  view,
Device  nd 
)

◆ my_mirror_scratch_view() [2/4]

template<class NewDevice , class Device , typename T >
View<T**,CLayout,NewDevice> my_mirror_scratch_view ( const View< T **, CLayout, Device, Kokkos::MemoryTraits< Kokkos::Unmanaged >> &  view,
NewDevice  nd 
)

◆ my_mirror_scratch_view() [3/4]

template<class Device , typename T >
View<T*,CLayout,Device> my_mirror_scratch_view ( const View< T *, CLayout, Device, Kokkos::MemoryTraits< Kokkos::Unmanaged >> &  view,
Device  nd 
)
Here is the caller graph for this function:

◆ my_mirror_scratch_view() [4/4]

template<class NewDevice , class Device , typename T >
View<T*,CLayout,NewDevice> my_mirror_scratch_view ( const View< T *, CLayout, Device, Kokkos::MemoryTraits< Kokkos::Unmanaged >> &  view,
NewDevice  nd 
)

◆ my_mirror_view() [1/12]

template<class Device , typename T >
View<T**,CLayout,Device> my_mirror_view ( const View< T **, CLayout, Device > &  view,
Device  nd 
)

◆ my_mirror_view() [2/12]

template<class Device , typename T >
View<T**,CLayout,Device> my_mirror_view ( const View< T **, CLayout, Device > &  view,
Device  nd,
const View< T **, CLayout, Device >  scratch_view 
)

◆ my_mirror_view() [3/12]

template<class NewDevice , class Device , typename T >
View<T**,CLayout,NewDevice> my_mirror_view ( const View< T **, CLayout, Device > &  view,
NewDevice  nd 
)

◆ my_mirror_view() [4/12]

template<class NewDevice , class Device , typename T >
View<T**,CLayout,NewDevice> my_mirror_view ( const View< T **, CLayout, Device > &  view,
NewDevice  nd,
const View< T **, CLayout, NewDevice >  scratch_view 
)

◆ my_mirror_view() [5/12]

template<class Device , typename T , typename T2 >
View<T**,CLayout,Device, Kokkos::MemoryTraits<Kokkos::Unmanaged> > my_mirror_view ( const View< T **, CLayout, Device, Kokkos::MemoryTraits< Kokkos::Unmanaged >> &  view,
Device  nd,
const T2 &  scratch_view 
)

◆ my_mirror_view() [6/12]

template<class NewDevice , class Device , typename T , typename T2 >
View<T**,CLayout,NewDevice, Kokkos::MemoryTraits<Kokkos::Unmanaged> > my_mirror_view ( const View< T **, CLayout, Device, Kokkos::MemoryTraits< Kokkos::Unmanaged >> &  view,
NewDevice  nd,
const T2 &  scratch_view 
)

◆ my_mirror_view() [7/12]

template<class Device , typename T >
View<T*,CLayout,Device> my_mirror_view ( const View< T *, CLayout, Device > &  view,
Device  nd 
)
Here is the caller graph for this function:

◆ my_mirror_view() [8/12]

template<class Device , typename T >
View<T*,CLayout,Device> my_mirror_view ( const View< T *, CLayout, Device > &  view,
Device  nd,
const View< T *, CLayout, Device >  scratch_view 
)

◆ my_mirror_view() [9/12]

template<class NewDevice , class Device , typename T >
View<T*,CLayout,NewDevice> my_mirror_view ( const View< T *, CLayout, Device > &  view,
NewDevice  nd 
)

◆ my_mirror_view() [10/12]

template<class NewDevice , class Device , typename T >
View<T*,CLayout,NewDevice> my_mirror_view ( const View< T *, CLayout, Device > &  view,
NewDevice  nd,
const View< T *, CLayout, NewDevice >  scratch_view 
)

◆ my_mirror_view() [11/12]

template<class Device , typename T , typename T2 >
View<T*,CLayout,Device, Kokkos::MemoryTraits<Kokkos::Unmanaged> > my_mirror_view ( const View< T *, CLayout, Device, Kokkos::MemoryTraits< Kokkos::Unmanaged >> &  view,
Device  nd,
const T2 &  scratch_view 
)

◆ my_mirror_view() [12/12]

template<class NewDevice , class Device , typename T , typename T2 >
View<T*,CLayout,NewDevice, Kokkos::MemoryTraits<Kokkos::Unmanaged> > my_mirror_view ( const View< T *, CLayout, Device, Kokkos::MemoryTraits< Kokkos::Unmanaged >> &  view,
NewDevice  nd,
const T2 &  scratch_view 
)