ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
Classes | |
struct | object_cpu_point |
struct | object_cpu_point< T, base_device::DEVICE_CPU > |
struct | object_cpu_point< T, base_device::DEVICE_GPU > |
Functions | |
void | bcast_complex_double (std::complex< double > *object, const int n) |
void | bcast_string (std::string *object, const int n) |
void | bcast_double (double *object, const int n) |
void | bcast_int (int *object, const int n) |
void | bcast_char (char *object, const int n) |
void | bcast_complex_double (std::complex< double > &object) |
void | bcast_string (std::string &object) |
void | bcast_double (double &object) |
void | bcast_int (int &object) |
void | bcast_bool (bool &object) |
void | isend_data (const double *buf, int count, int dest, int tag, MPI_Comm &comm, MPI_Request *request) |
void | isend_data (const std::complex< double > *buf, int count, int dest, int tag, MPI_Comm &comm, MPI_Request *request) |
void | isend_data (const float *buf, int count, int dest, int tag, MPI_Comm &comm, MPI_Request *request) |
void | isend_data (const std::complex< float > *buf, int count, int dest, int tag, MPI_Comm &comm, MPI_Request *request) |
void | send_data (const double *buf, int count, int dest, int tag, MPI_Comm &comm) |
void | send_data (const std::complex< double > *buf, int count, int dest, int tag, MPI_Comm &comm) |
void | send_data (const float *buf, int count, int dest, int tag, MPI_Comm &comm) |
void | send_data (const std::complex< float > *buf, int count, int dest, int tag, MPI_Comm &comm) |
void | recv_data (double *buf, int count, int source, int tag, MPI_Comm &comm, MPI_Status *status) |
void | recv_data (std::complex< double > *buf, int count, int source, int tag, MPI_Comm &comm, MPI_Status *status) |
void | recv_data (float *buf, int count, int source, int tag, MPI_Comm &comm, MPI_Status *status) |
void | recv_data (std::complex< float > *buf, int count, int source, int tag, MPI_Comm &comm, MPI_Status *status) |
void | bcast_data (std::complex< double > *object, const int &n, const MPI_Comm &comm) |
void | bcast_data (std::complex< float > *object, const int &n, const MPI_Comm &comm) |
void | bcast_data (double *object, const int &n, const MPI_Comm &comm) |
void | bcast_data (float *object, const int &n, const MPI_Comm &comm) |
void | reduce_data (std::complex< double > *object, const int &n, const MPI_Comm &comm) |
void | reduce_data (std::complex< float > *object, const int &n, const MPI_Comm &comm) |
void | reduce_data (double *object, const int &n, const MPI_Comm &comm) |
void | reduce_data (float *object, const int &n, const MPI_Comm &comm) |
void | gatherv_data (const double *sendbuf, int sendcount, double *recvbuf, const int *recvcounts, const int *displs, MPI_Comm &comm) |
void | gatherv_data (const std::complex< double > *sendbuf, int sendcount, std::complex< double > *recvbuf, const int *recvcounts, const int *displs, MPI_Comm &comm) |
void | gatherv_data (const float *sendbuf, int sendcount, float *recvbuf, const int *recvcounts, const int *displs, MPI_Comm &comm) |
void | gatherv_data (const std::complex< float > *sendbuf, int sendcount, std::complex< float > *recvbuf, const int *recvcounts, const int *displs, MPI_Comm &comm) |
template<typename T , typename Device > | |
void | send_dev (const T *object, int count, int dest, int tag, MPI_Comm &comm, T *tmp_space=nullptr) |
send data in Device | |
template<typename T , typename Device > | |
void | isend_dev (const T *object, int count, int dest, int tag, MPI_Comm &comm, MPI_Request *request, T *send_space) |
isend data in Device | |
template<typename T , typename Device > | |
void | recv_dev (T *object, int count, int source, int tag, MPI_Comm &comm, MPI_Status *status, T *tmp_space=nullptr) |
recv data in Device | |
template<typename T , typename Device > | |
void | bcast_dev (T *object, const int &n, const MPI_Comm &comm, T *tmp_space=nullptr) |
bcast data in Device | |
template<typename T , typename Device > | |
void | reduce_dev (T *object, const int &n, const MPI_Comm &comm, T *tmp_space=nullptr) |
template<typename T , typename Device > | |
void | gatherv_dev (const T *sendbuf, int sendcount, T *recvbuf, const int *recvcounts, const int *displs, MPI_Comm &comm, T *tmp_sspace=nullptr, T *tmp_rspace=nullptr) |
void Parallel_Common::bcast_bool | ( | bool & | object | ) |
void Parallel_Common::bcast_char | ( | char * | object, |
const int | n | ||
) |
void Parallel_Common::bcast_complex_double | ( | std::complex< double > & | object | ) |
void Parallel_Common::bcast_complex_double | ( | std::complex< double > * | object, |
const int | n | ||
) |
void Parallel_Common::bcast_data | ( | double * | object, |
const int & | n, | ||
const MPI_Comm & | comm | ||
) |
void Parallel_Common::bcast_data | ( | float * | object, |
const int & | n, | ||
const MPI_Comm & | comm | ||
) |
void Parallel_Common::bcast_data | ( | std::complex< double > * | object, |
const int & | n, | ||
const MPI_Comm & | comm | ||
) |
void Parallel_Common::bcast_data | ( | std::complex< float > * | object, |
const int & | n, | ||
const MPI_Comm & | comm | ||
) |
void Parallel_Common::bcast_dev | ( | T * | object, |
const int & | n, | ||
const MPI_Comm & | comm, | ||
T * | tmp_space = nullptr |
||
) |
bcast data in Device
T | float, double, std::complex<float>, std::complex<double> |
Device |
ctx | Device ctx |
object | complex arrays in Device |
n | the size of complex arrays |
comm | MPI_Comm |
tmp_space | tmp space in CPU |
void Parallel_Common::bcast_double | ( | double & | object | ) |
void Parallel_Common::bcast_double | ( | double * | object, |
const int | n | ||
) |
void Parallel_Common::bcast_int | ( | int & | object | ) |
void Parallel_Common::bcast_int | ( | int * | object, |
const int | n | ||
) |
void Parallel_Common::bcast_string | ( | std::string & | object | ) |
void Parallel_Common::bcast_string | ( | std::string * | object, |
const int | n | ||
) |
void Parallel_Common::gatherv_data | ( | const double * | sendbuf, |
int | sendcount, | ||
double * | recvbuf, | ||
const int * | recvcounts, | ||
const int * | displs, | ||
MPI_Comm & | comm | ||
) |
void Parallel_Common::gatherv_data | ( | const float * | sendbuf, |
int | sendcount, | ||
float * | recvbuf, | ||
const int * | recvcounts, | ||
const int * | displs, | ||
MPI_Comm & | comm | ||
) |
void Parallel_Common::gatherv_data | ( | const std::complex< double > * | sendbuf, |
int | sendcount, | ||
std::complex< double > * | recvbuf, | ||
const int * | recvcounts, | ||
const int * | displs, | ||
MPI_Comm & | comm | ||
) |
void Parallel_Common::gatherv_data | ( | const std::complex< float > * | sendbuf, |
int | sendcount, | ||
std::complex< float > * | recvbuf, | ||
const int * | recvcounts, | ||
const int * | displs, | ||
MPI_Comm & | comm | ||
) |
void Parallel_Common::gatherv_dev | ( | const T * | sendbuf, |
int | sendcount, | ||
T * | recvbuf, | ||
const int * | recvcounts, | ||
const int * | displs, | ||
MPI_Comm & | comm, | ||
T * | tmp_sspace = nullptr , |
||
T * | tmp_rspace = nullptr |
||
) |
void Parallel_Common::isend_data | ( | const double * | buf, |
int | count, | ||
int | dest, | ||
int | tag, | ||
MPI_Comm & | comm, | ||
MPI_Request * | request | ||
) |
void Parallel_Common::isend_data | ( | const float * | buf, |
int | count, | ||
int | dest, | ||
int | tag, | ||
MPI_Comm & | comm, | ||
MPI_Request * | request | ||
) |
void Parallel_Common::isend_data | ( | const std::complex< double > * | buf, |
int | count, | ||
int | dest, | ||
int | tag, | ||
MPI_Comm & | comm, | ||
MPI_Request * | request | ||
) |
void Parallel_Common::isend_data | ( | const std::complex< float > * | buf, |
int | count, | ||
int | dest, | ||
int | tag, | ||
MPI_Comm & | comm, | ||
MPI_Request * | request | ||
) |
void Parallel_Common::isend_dev | ( | const T * | object, |
int | count, | ||
int | dest, | ||
int | tag, | ||
MPI_Comm & | comm, | ||
MPI_Request * | request, | ||
T * | send_space | ||
) |
isend data in Device
void Parallel_Common::recv_data | ( | double * | buf, |
int | count, | ||
int | source, | ||
int | tag, | ||
MPI_Comm & | comm, | ||
MPI_Status * | status | ||
) |
void Parallel_Common::recv_data | ( | float * | buf, |
int | count, | ||
int | source, | ||
int | tag, | ||
MPI_Comm & | comm, | ||
MPI_Status * | status | ||
) |
void Parallel_Common::recv_data | ( | std::complex< double > * | buf, |
int | count, | ||
int | source, | ||
int | tag, | ||
MPI_Comm & | comm, | ||
MPI_Status * | status | ||
) |
void Parallel_Common::recv_data | ( | std::complex< float > * | buf, |
int | count, | ||
int | source, | ||
int | tag, | ||
MPI_Comm & | comm, | ||
MPI_Status * | status | ||
) |
void Parallel_Common::recv_dev | ( | T * | object, |
int | count, | ||
int | source, | ||
int | tag, | ||
MPI_Comm & | comm, | ||
MPI_Status * | status, | ||
T * | tmp_space = nullptr |
||
) |
recv data in Device
void Parallel_Common::reduce_data | ( | double * | object, |
const int & | n, | ||
const MPI_Comm & | comm | ||
) |
void Parallel_Common::reduce_data | ( | float * | object, |
const int & | n, | ||
const MPI_Comm & | comm | ||
) |
void Parallel_Common::reduce_data | ( | std::complex< double > * | object, |
const int & | n, | ||
const MPI_Comm & | comm | ||
) |
void Parallel_Common::reduce_data | ( | std::complex< float > * | object, |
const int & | n, | ||
const MPI_Comm & | comm | ||
) |
void Parallel_Common::reduce_dev | ( | T * | object, |
const int & | n, | ||
const MPI_Comm & | comm, | ||
T * | tmp_space = nullptr |
||
) |
void Parallel_Common::send_data | ( | const double * | buf, |
int | count, | ||
int | dest, | ||
int | tag, | ||
MPI_Comm & | comm | ||
) |
void Parallel_Common::send_data | ( | const float * | buf, |
int | count, | ||
int | dest, | ||
int | tag, | ||
MPI_Comm & | comm | ||
) |
void Parallel_Common::send_data | ( | const std::complex< double > * | buf, |
int | count, | ||
int | dest, | ||
int | tag, | ||
MPI_Comm & | comm | ||
) |
void Parallel_Common::send_data | ( | const std::complex< float > * | buf, |
int | count, | ||
int | dest, | ||
int | tag, | ||
MPI_Comm & | comm | ||
) |