|
Grid 0.7.0
|
Go to the source code of this file.
Functions | |
| NAMESPACE_BEGIN (Grid) | |
| template<class vobj> | |
| void | MapCshiftCopy (std::vector< vobj > &Cshift_obj, deviceVector< vobj > &Cshift_obj_device) |
| template<class vobj> | |
| vobj * | MapCshift (std::vector< vobj > &Cshift_obj, deviceVector< vobj > &Cshift_obj_device) |
| template<class vobj> | |
| void | CalculateCshiftVector (Lattice< vobj > &ret, const Lattice< vobj > &rhs, int dimension, int cbmask) |
| template<class vobj> | |
| void | Gather_plane_simple (const Lattice< vobj > &rhs, deviceVector< vobj > &buffer, int dimension, int plane, int cbmask, int off=0) |
| template<class vobj> | |
| void | Gather_plane_extract (const Lattice< vobj > &rhs, ExtractPointerArray< typename vobj::scalar_object > pointers, int dimension, int plane, int cbmask) |
| template<class vobj> | |
| void | Scatter_plane_simple (Lattice< vobj > &rhs, deviceVector< vobj > &buffer, int dimension, int plane, int cbmask) |
| template<class vobj> | |
| void | Scatter_plane_merge (Lattice< vobj > &rhs, ExtractPointerArray< typename vobj::scalar_object > pointers, int dimension, int plane, int cbmask) |
| template<class vobj> | |
| void | Copy_plane (Lattice< vobj > &lhs, const Lattice< vobj > &rhs, int dimension, int lplane, int rplane, int cbmask) |
| template<class vobj> | |
| void | Copy_plane_permute (Lattice< vobj > &lhs, const Lattice< vobj > &rhs, int dimension, int lplane, int rplane, int cbmask, int permute_type) |
| template<class vobj> | |
| void | Cshift_local (Lattice< vobj > &ret, const Lattice< vobj > &rhs, int dimension, int shift) |
| template<class vobj> | |
| void | Cshift_local (Lattice< vobj > &ret, const Lattice< vobj > &rhs, int dimension, int shift, int cbmask) |
| NAMESPACE_END (Grid) | |
Variables | |
| std::vector< std::pair< int, int > > | Cshift_table |
| deviceVector< std::pair< int, int > > | Cshift_table_device |
| std::vector< int > | Cshift_vector |
| deviceVector< int > | Cshift_vector_device |
| NAMESPACE_BEGIN | ( | Grid | ) |
References Cshift_table, Cshift_table_device, Cshift_vector, and Cshift_vector_device.
|
inline |
Definition at line 39 of file Cshift_common.h.
References acceleratorCopyToDevice().
Referenced by Cshift_comms(), Cshift_local(), and MapCshift().
|
inline |
Definition at line 54 of file Cshift_common.h.
References MapCshiftCopy().
Referenced by Gather_plane_simple(), and Scatter_plane_simple().
| void CalculateCshiftVector | ( | Lattice< vobj > & | ret, |
| const Lattice< vobj > & | rhs, | ||
| int | dimension, | ||
| int | cbmask ) |
Definition at line 63 of file Cshift_common.h.
References GridBase::_slice_block, GridBase::_slice_nblock, GridBase::_slice_stride, GridBase::CheckerBoarded(), GridBase::CheckerBoardFromOindex(), Cshift_vector, and Lattice< vobj >::Grid().
Referenced by Cshift_comms(), and Cshift_local().
| void Gather_plane_simple | ( | const Lattice< vobj > & | rhs, |
| deviceVector< vobj > & | buffer, | ||
| int | dimension, | ||
| int | plane, | ||
| int | cbmask, | ||
| int | off = 0 ) |
Definition at line 105 of file Cshift_common.h.
References GridBase::_ostride, GridBase::_rdimensions, GridBase::_slice_block, GridBase::_slice_nblock, GridBase::_slice_stride, accelerator_for, AcceleratorRead, autoView, GridBase::CheckerBoarded(), GridBase::CheckerBoardFromOindex(), coalescedRead(), coalescedWrite(), Cshift_table, Cshift_table_device, Lattice< vobj >::Grid(), and MapCshift().
Referenced by Cshift_comms().
| void Gather_plane_extract | ( | const Lattice< vobj > & | rhs, |
| ExtractPointerArray< typename vobj::scalar_object > | pointers, | ||
| int | dimension, | ||
| int | plane, | ||
| int | cbmask ) |
Definition at line 156 of file Cshift_common.h.
References GridBase::_checker_dim_mask, GridBase::_ostride, GridBase::_rdimensions, GridBase::_slice_block, GridBase::_slice_nblock, GridBase::_slice_stride, accelerator_for, AcceleratorRead, autoView, GridBase::CheckerBoarded(), extract(), Lattice< vobj >::Grid(), and RedBlackCheckerBoardFromOindex().
Referenced by Cshift_comms_simd().
| void Scatter_plane_simple | ( | Lattice< vobj > & | rhs, |
| deviceVector< vobj > & | buffer, | ||
| int | dimension, | ||
| int | plane, | ||
| int | cbmask ) |
Definition at line 213 of file Cshift_common.h.
References GridBase::_ostride, GridBase::_rdimensions, GridBase::_slice_block, GridBase::_slice_nblock, GridBase::_slice_stride, accelerator_for, AcceleratorWrite, autoView, GridBase::CheckerBoarded(), GridBase::CheckerBoardFromOindex(), coalescedRead(), coalescedWrite(), Cshift_table, Cshift_table_device, Lattice< vobj >::Grid(), and MapCshift().
Referenced by Cshift_comms().
| void Scatter_plane_merge | ( | Lattice< vobj > & | rhs, |
| ExtractPointerArray< typename vobj::scalar_object > | pointers, | ||
| int | dimension, | ||
| int | plane, | ||
| int | cbmask ) |
Definition at line 267 of file Cshift_common.h.
References GridBase::_ostride, GridBase::_rdimensions, GridBase::_slice_block, GridBase::_slice_nblock, GridBase::_slice_stride, accelerator_for, AcceleratorWrite, autoView, GridBase::CheckerBoarded(), GridBase::CheckerBoardFromOindex(), CpuWrite, Lattice< vobj >::Grid(), and merge().
Referenced by Cshift_comms_simd().
| void Copy_plane | ( | Lattice< vobj > & | lhs, |
| const Lattice< vobj > & | rhs, | ||
| int | dimension, | ||
| int | lplane, | ||
| int | rplane, | ||
| int | cbmask ) |
Definition at line 316 of file Cshift_common.h.
References GridBase::_ostride, accelerator_for, AcceleratorRead, AcceleratorWrite, autoView, Cshift_vector, Cshift_vector_device, and Lattice< vobj >::Grid().
Referenced by Cshift_comms(), and Cshift_local().
| void Copy_plane_permute | ( | Lattice< vobj > & | lhs, |
| const Lattice< vobj > & | rhs, | ||
| int | dimension, | ||
| int | lplane, | ||
| int | rplane, | ||
| int | cbmask, | ||
| int | permute_type ) |
Definition at line 332 of file Cshift_common.h.
References GridBase::_ostride, accelerator_for, AcceleratorRead, AcceleratorWrite, autoView, Cshift_vector, Cshift_vector_device, and Lattice< vobj >::Grid().
Referenced by Cshift_local().
| void Cshift_local | ( | Lattice< vobj > & | ret, |
| const Lattice< vobj > & | rhs, | ||
| int | dimension, | ||
| int | shift ) |
Definition at line 349 of file Cshift_common.h.
References LatticeAccelerator< vobj >::Checkerboard(), GridBase::CheckerBoardShiftForCB(), Cshift_local(), Even, Lattice< vobj >::Grid(), and Odd.
Referenced by Cshift(), and Cshift_local().
| void Cshift_local | ( | Lattice< vobj > & | ret, |
| const Lattice< vobj > & | rhs, | ||
| int | dimension, | ||
| int | shift, | ||
| int | cbmask ) |
Definition at line 364 of file Cshift_common.h.
References GridBase::_fdimensions, GridBase::_gdimensions, GridBase::_ldimensions, GridBase::_rdimensions, GridBase::_simd_layout, CalculateCshiftVector(), LatticeAccelerator< vobj >::Checkerboard(), GridBase::CheckerBoardDestination(), GridBase::CheckerBoardShiftForCB(), Copy_plane(), Copy_plane_permute(), Cshift_vector, Cshift_vector_device, Even, Lattice< vobj >::Grid(), MapCshiftCopy(), Odd, GridBase::PermuteDim(), GridBase::PermuteType(), and RotateBit.
| NAMESPACE_END | ( | Grid | ) |
|
extern |
Definition at line 3 of file Cshift_table.cc.
Referenced by Gather_plane_simple(), NAMESPACE_BEGIN(), and Scatter_plane_simple().
|
extern |
Definition at line 4 of file Cshift_table.cc.
Referenced by Gather_plane_simple(), NAMESPACE_BEGIN(), and Scatter_plane_simple().
|
extern |
Definition at line 5 of file Cshift_table.cc.
Referenced by CalculateCshiftVector(), Copy_plane(), Copy_plane_permute(), Cshift_comms(), Cshift_local(), and NAMESPACE_BEGIN().
|
extern |
Definition at line 6 of file Cshift_table.cc.
Referenced by Copy_plane(), Copy_plane_permute(), Cshift_comms(), Cshift_local(), and NAMESPACE_BEGIN().