VirtualFluids 0.2.0
Parallel CFD LBM Solver
Loading...
Searching...
No Matches
vf::gpu::CommunicatorDouble Class Reference
Inheritance diagram for vf::gpu::CommunicatorDouble:
vf::parallel::NullCommunicator vf::parallel::Communicator

Public Member Functions

void receiveSend (uint *buffer_receive, int, int, const uint *, int, int) const override
 
void receiveSend (real *buffer_send, int size_buffer_send, real *buffer_receive, int size_buffer_recv, int neighbor_rank) const override
 
void setReceivedIndices (const std::vector< uint > &receivedIndices)
 
- Public Member Functions inherited from vf::parallel::NullCommunicator
double Wtime () override
 
int getBundleID () const override
 
int getNumberOfBundles () const override
 
int getProcessID () const override
 
int getProcessID (int bundle, int rank) const override
 
int getNumberOfProcesses () const override
 
bool isRoot () const override
 
void * getNativeCommunicator () override
 
void sendSerializedObject (std::stringstream &stream, int target) override
 
void receiveSerializedObject (std::stringstream &stream, int source) override
 
int getRoot () const override
 
int getBundleRoot () const override
 
int getProcessRoot () const override
 
int getNumberOfProcessesInBundle (int bundle) const override
 
void barrier () override
 
void abort (int errorcode) override
 
std::vector< std::string > gather (const std::string &str) override
 
std::vector< int > gather (std::vector< int > &values) override
 
std::vector< float > gather (std::vector< float > &values) override
 
std::vector< double > gather (std::vector< double > &values) override
 
std::vector< unsigned long long > gather (std::vector< unsigned long long > &values) override
 
void allGather (std::vector< int > &svalues, std::vector< int > &rvalues) override
 
void allGather (std::vector< float > &svalues, std::vector< float > &rvalues) override
 
void allGather (std::vector< double > &svalues, std::vector< double > &rvalues) override
 
void allGather (std::vector< unsigned long long > &svalues, std::vector< unsigned long long > &rvalues) override
 
void allGather (std::vector< uint > &svalues, std::vector< uint > &rvalues) override
 
void allReduceSum (std::vector< float > &values) override
 
void allReduceSum (std::vector< double > &values) override
 
void allReduceSum (std::vector< uint > &values) override
 
void broadcast (int &value) override
 
void broadcast (float &value) override
 
void broadcast (double &value) override
 
void broadcast (long int &value) override
 
void broadcast (std::vector< int > &values) override
 
void broadcast (std::vector< float > &values) override
 
void broadcast (std::vector< double > &values) override
 
void broadcast (std::vector< long int > &values) override
 
void receiveSend (uint *buffer_receive, int size_buffer_recv, int neighbor_rank_recv, const uint *buffer_send, int size_buffer_send, int neighbor_rank_send) const override
 
void send (real *sbuf, int count_s, int nb_rank) const override
 
double reduceSum (double quantityPerProcess) const override
 
int mapCudaDevicesOnHosts (const std::vector< unsigned int > &devices, int numberOfDevices) const override
 
void receiveSend (real *buffer_send, int size_buffer_send, real *buffer_receive, int size_buffer_recv, int neighbor_rank) const override
 
void receiveNonBlocking (real *rbuf, int count_r, int sourceRank) override
 
void sendNonBlocking (real *sbuf, int count_s, int destinationRank) override
 
void send (real *sbuf, int count_s, int destinationRank) override
 
void waitAll () override
 
void resetRequests () override
 
- Public Member Functions inherited from vf::parallel::Communicator
 Communicator (const Communicator &)=delete
 
Communicator & operator= (const Communicator &rhs)=delete
 
virtual ~Communicator ()=default
 

Additional Inherited Members

- Static Public Member Functions inherited from vf::parallel::NullCommunicator
static std::shared_ptr< Communicator > getInstance ()
 
- Static Public Member Functions inherited from vf::parallel::Communicator
static std::shared_ptr< Communicator > getInstance ()
 
- Protected Member Functions inherited from vf::parallel::Communicator
 Communicator ()=default
 
- Static Protected Attributes inherited from vf::parallel::Communicator
static std::mutex instantiation_mutex = std::mutex()
 
static std::shared_ptr< Communicator > instance = std::shared_ptr<Communicator>()
 

Detailed Description

Definition at line 214 of file IndexRearrangementForStreamsTest.cpp.

Member Function Documentation

◆ receiveSend() [1/2]

void vf::gpu::CommunicatorDouble::receiveSend ( real *  buffer_send,
int  size_buffer_send,
real *  buffer_receive,
int  size_buffer_recv,
int  neighbor_rank 
) const
inlineoverridevirtual

Implements vf::parallel::Communicator.

Definition at line 224 of file IndexRearrangementForStreamsTest.cpp.

◆ receiveSend() [2/2]

void vf::gpu::CommunicatorDouble::receiveSend ( uint *  buffer_receive,
int  ,
int  ,
const uint *  ,
int  ,
int   
) const
inlineoverridevirtual

Implements vf::parallel::Communicator.

Definition at line 217 of file IndexRearrangementForStreamsTest.cpp.

◆ setReceivedIndices()

void vf::gpu::CommunicatorDouble::setReceivedIndices ( const std::vector< uint > &  receivedIndices)
inline

Definition at line 229 of file IndexRearrangementForStreamsTest.cpp.


The documentation for this class was generated from the following file: