Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
CTF_redist_ror_put Namespace Reference

Typedefs

typedef MPI_Request CTF_Request
 

Functions

template<int idim>
void isendrecv (int *const *pe_offset, int *const *bucket_offset, int const *rep_phase, int64_t const *counts, int64_t const *displs, CTF_Request *reqs, MPI_Comm cm, char *buffer, algstrct const *sr, int bucket_off, int pe_off, int dir)
 
template<>
void isendrecv< 0 > (int *const *pe_offset, int *const *bucket_offset, int const *rep_phase, int64_t const *counts, int64_t const *displs, CTF_Request *reqs, MPI_Comm cm, char *buffer, algstrct const *sr, int bucket_off, int pe_off, int dir)
 
template<int idim>
void redist_bucket_ror (int *const *bucket_offset, int64_t *const *data_offset, int *const *ivmax_pre, int const *rep_phase, int const *rep_idx, int virt_dim0, bool data_to_buckets, char *__restrict__ data, char **__restrict__ buckets, int64_t *counts, algstrct const *sr, int64_t data_off=0, int bucket_off=0, int prev_idx=0)
 
template<>
void redist_bucket_ror< 0 > (int *const *bucket_offset, int64_t *const *data_offset, int *const *ivmax_pre, int const *rep_phase, int const *rep_idx, int virt_dim0, bool data_to_buckets, char *__restrict__ data, char **__restrict__ buckets, int64_t *counts, algstrct const *sr, int64_t data_off, int bucket_off, int prev_idx)
 
template<int idim>
void put_buckets (int const *rep_phase, int *const *pe_offset, int *const *bucket_offset, char *const *__restrict__ buckets, int64_t const *counts, algstrct const *sr, int64_t const *put_displs, CTF_Win &win, int bucket_off, int pe_off)
 
template<>
void put_buckets< 0 > (int const *rep_phase, int *const *pe_offset, int *const *bucket_offset, char *const *__restrict__ buckets, int64_t const *counts, algstrct const *sr, int64_t const *put_displs, CTF_Win &win, int bucket_off, int pe_off)
 
template<int idim>
void redist_bucket_isr (int order, int *const *pe_offset, int *const *bucket_offset, int64_t *const *data_offset, int *const *ivmax_pre, int const *rep_phase, int *rep_idx, int virt_dim0, int64_t const *put_displs, CTF_Win &win, bool data_to_buckets, char *__restrict__ data, char **__restrict__ buckets, int64_t *counts, algstrct const *sr, int bucket_off=0, int pe_off=0)
 
template<>
void redist_bucket_isr< 0 > (int order, int *const *pe_offset, int *const *bucket_offset, int64_t *const *data_offset, int *const *ivmax_pre, int const *rep_phase, int *rep_idx, int virt_dim0, int64_t const *put_displs, CTF_Win &win, bool data_to_buckets, char *__restrict__ data, char **__restrict__ buckets, int64_t *counts, algstrct const *sr, int bucket_off, int pe_off)
 
void dgtog_reshuffle (int const *sym, int const *edge_len, distribution const &old_dist, distribution const &new_dist, char **ptr_tsr_data, char **ptr_tsr_new_data, algstrct const *sr, CommData ord_glb_comm)
 

Typedef Documentation

typedef MPI_Request CTF_redist_ror_put::CTF_Request

Definition at line 11 of file dgtog_redist.cxx.

Function Documentation

void CTF_redist_ror_put::dgtog_reshuffle ( int const *  sym,
int const *  edge_len,
distribution const &  old_dist,
distribution const &  new_dist,
char **  ptr_tsr_data,
char **  ptr_tsr_new_data,
algstrct const *  sr,
CommData  ord_glb_comm 
)

Definition at line 305 of file dgtog_redist.cxx.

Referenced by CTF_redist_ror_isr_any::redist_bucket_ror().

template<int idim>
void CTF_redist_ror_put::isendrecv ( int *const *  pe_offset,
int *const *  bucket_offset,
int const *  rep_phase,
int64_t const *  counts,
int64_t const *  displs,
CTF_Request reqs,
MPI_Comm  cm,
char *  buffer,
algstrct const *  sr,
int  bucket_off,
int  pe_off,
int  dir 
)

Definition at line 17 of file dgtog_redist.cxx.

template<>
void CTF_redist_ror_put::isendrecv< 0 > ( int *const *  pe_offset,
int *const *  bucket_offset,
int const *  rep_phase,
int64_t const *  counts,
int64_t const *  displs,
CTF_Request reqs,
MPI_Comm  cm,
char *  buffer,
algstrct const *  sr,
int  bucket_off,
int  pe_off,
int  dir 
)

Definition at line 42 of file dgtog_redist.cxx.

template<int idim>
void CTF_redist_ror_put::put_buckets ( int const *  rep_phase,
int *const *  pe_offset,
int *const *  bucket_offset,
char *const *__restrict__  buckets,
int64_t const *  counts,
algstrct const *  sr,
int64_t const *  put_displs,
CTF_Win win,
int  bucket_off,
int  pe_off 
)

Definition at line 121 of file dgtog_redist.cxx.

Referenced by isendrecv< 0 >().

template<>
void CTF_redist_ror_put::put_buckets< 0 > ( int const *  rep_phase,
int *const *  pe_offset,
int *const *  bucket_offset,
char *const *__restrict__  buckets,
int64_t const *  counts,
algstrct const *  sr,
int64_t const *  put_displs,
CTF_Win win,
int  bucket_off,
int  pe_off 
)

Definition at line 139 of file dgtog_redist.cxx.

Referenced by isendrecv< 0 >().

template<int idim>
void CTF_redist_ror_put::redist_bucket_isr ( int  order,
int *const *  pe_offset,
int *const *  bucket_offset,
int64_t *const *  data_offset,
int *const *  ivmax_pre,
int const *  rep_phase,
int *  rep_idx,
int  virt_dim0,
int64_t const *  put_displs,
CTF_Win win,
bool  data_to_buckets,
char *__restrict__  data,
char **__restrict__  buckets,
int64_t *  counts,
algstrct const *  sr,
int  bucket_off = 0,
int  pe_off = 0 
)

Definition at line 163 of file dgtog_redist.cxx.

template<>
void CTF_redist_ror_put::redist_bucket_isr< 0 > ( int  order,
int *const *  pe_offset,
int *const *  bucket_offset,
int64_t *const *  data_offset,
int *const *  ivmax_pre,
int const *  rep_phase,
int *  rep_idx,
int  virt_dim0,
int64_t const *  put_displs,
CTF_Win win,
bool  data_to_buckets,
char *__restrict__  data,
char **__restrict__  buckets,
int64_t *  counts,
algstrct const *  sr,
int  bucket_off,
int  pe_off 
)

Definition at line 252 of file dgtog_redist.cxx.

template<int idim>
void CTF_redist_ror_put::redist_bucket_ror ( int *const *  bucket_offset,
int64_t *const *  data_offset,
int *const *  ivmax_pre,
int const *  rep_phase,
int const *  rep_idx,
int  virt_dim0,
bool  data_to_buckets,
char *__restrict__  data,
char **__restrict__  buckets,
int64_t *  counts,
algstrct const *  sr,
int64_t  data_off = 0,
int  bucket_off = 0,
int  prev_idx = 0 
)

Definition at line 76 of file dgtog_redist.cxx.

template<>
void CTF_redist_ror_put::redist_bucket_ror< 0 > ( int *const *  bucket_offset,
int64_t *const *  data_offset,
int *const *  ivmax_pre,
int const *  rep_phase,
int const *  rep_idx,
int  virt_dim0,
bool  data_to_buckets,
char *__restrict__  data,
char **__restrict__  buckets,
int64_t *  counts,
algstrct const *  sr,
int64_t  data_off,
int  bucket_off,
int  prev_idx 
)

Definition at line 99 of file dgtog_redist.cxx.