Skip to content
Snippets Groups Projects

Add communicator interface

1 file
+ 1
12
Compare changes
  • Side-by-side
  • Inline
@@ -2,21 +2,10 @@
#define COMMUNICATOR_GPU_H
#include <vector>
#include <mpi.h>
#include <basics/DataTypes.h>
#include "VirtualFluids_GPU_export.h"
#include "CommunicationRoutine.h"
#include <basics/DataTypes.h>
//////////////////////////////////
#ifdef VF_DOUBLE_ACCURACY
#define MPI_Type_GPU MPI_DOUBLE
#else
#define MPI_Type_GPU MPI_FLOAT
#endif
//////////////////////////////////
namespace vf::gpu
{
Loading