Commit b6d74926 authored by Vít Hanousek's avatar Vít Hanousek
Browse files

Fix build with CUDA without MPI

parent 7eef4072
Loading
Loading
Loading
Loading
+10 −7
Original line number Diff line number Diff line
@@ -16,13 +16,6 @@

#ifdef HAVE_MPI
#include <mpi.h>   
#endif

#include <TNL/String.h>
#include <TNL/Logger.h>
#include <TNL/Communicators/MpiDefs.h>
#include <TNL/Config/ConfigDescription.h>
#include <TNL/Exceptions/MPISupportMissing.h>

#ifdef HAVE_CUDA
    #include <TNL/Devices/Cuda.h>
@@ -33,6 +26,16 @@ typedef struct __attribute__((__packed__)) {

#endif

#endif

#include <TNL/String.h>
#include <TNL/Logger.h>
#include <TNL/Communicators/MpiDefs.h>
#include <TNL/Config/ConfigDescription.h>
#include <TNL/Exceptions/MPISupportMissing.h>



namespace TNL {
namespace Communicators {