QUDA
v1.1.0
A library for QCD on GPUs
|
#include <unistd.h>
#include <assert.h>
#include <limits>
#include <quda_internal.h>
#include <communicator_quda.h>
#include <comm_quda.h>
Go to the source code of this file.
Functions | |
char * | comm_hostname (void) |
double | comm_drand (void) |
MsgHandle * | comm_declare_send_relative_ (const char *func, const char *file, int line, void *buffer, int dim, int dir, size_t nbytes) |
MsgHandle * | comm_declare_receive_relative_ (const char *func, const char *file, int line, void *buffer, int dim, int dir, size_t nbytes) |
MsgHandle * | comm_declare_strided_send_relative_ (const char *func, const char *file, int line, void *buffer, int dim, int dir, size_t blksize, int nblocks, size_t stride) |
MsgHandle * | comm_declare_strided_receive_relative_ (const char *func, const char *file, int line, void *buffer, int dim, int dir, size_t blksize, int nblocks, size_t stride) |
Topology * | comm_create_topology (int ndim, const int *dims, QudaCommsMap rank_from_coords, void *map_data, int my_rank) |
void | comm_abort (int status) |
void comm_abort | ( | int | status | ) |
Definition at line 208 of file comm_common.cpp.
Topology* comm_create_topology | ( | int | ndim, |
const int * | dims, | ||
QudaCommsMap | rank_from_coords, | ||
void * | map_data, | ||
int | my_rank | ||
) |
Definition at line 173 of file comm_common.cpp.
MsgHandle* comm_declare_receive_relative_ | ( | const char * | func, |
const char * | file, | ||
int | line, | ||
void * | buffer, | ||
int | dim, | ||
int | dir, | ||
size_t | nbytes | ||
) |
Receive from the "dir" direction in the "dim" dimension
Definition at line 78 of file comm_common.cpp.
MsgHandle* comm_declare_send_relative_ | ( | const char * | func, |
const char * | file, | ||
int | line, | ||
void * | buffer, | ||
int | dim, | ||
int | dir, | ||
size_t | nbytes | ||
) |
Send to the "dir" direction in the "dim" dimension
Definition at line 44 of file comm_common.cpp.
MsgHandle* comm_declare_strided_receive_relative_ | ( | const char * | func, |
const char * | file, | ||
int | line, | ||
void * | buffer, | ||
int | dim, | ||
int | dir, | ||
size_t | blksize, | ||
int | nblocks, | ||
size_t | stride | ||
) |
Strided receive from the "dir" direction in the "dim" dimension
Definition at line 145 of file comm_common.cpp.
MsgHandle* comm_declare_strided_send_relative_ | ( | const char * | func, |
const char * | file, | ||
int | line, | ||
void * | buffer, | ||
int | dim, | ||
int | dir, | ||
size_t | blksize, | ||
int | nblocks, | ||
size_t | stride | ||
) |
Strided send to the "dir" direction in the "dim" dimension
Definition at line 108 of file comm_common.cpp.
double comm_drand | ( | void | ) |
We provide our own random number generator to avoid re-seeding rand(), which might also be used by the calling application. This is a clone of rand48(), provided by stdlib.h on UNIX.
Definition at line 33 of file comm_common.cpp.
char* comm_hostname | ( | void | ) |
Definition at line 10 of file comm_common.cpp.