mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
vtkmdiy: Use the new mangled VTKM_DIY_ defines
This commit is contained in:
parent
7d307b96ce
commit
451bff6f14
@ -37,7 +37,7 @@ void EnvironmentTracker::SetCommunicator(const vtkmdiy::mpi::communicator& comm)
|
||||
|
||||
const vtkmdiy::mpi::communicator& EnvironmentTracker::GetCommunicator()
|
||||
{
|
||||
#ifndef DIY_NO_MPI
|
||||
#ifndef VTKM_DIY_NO_MPI
|
||||
int flag;
|
||||
MPI_Initialized(&flag);
|
||||
if (!flag)
|
||||
|
4
vtkm/thirdparty/diy/Configure.h.in
vendored
4
vtkm/thirdparty/diy/Configure.h.in
vendored
@ -34,13 +34,13 @@
|
||||
|
||||
/* Whether to use MPI support in DIY */
|
||||
#if !defined(VTKM_ENABLE_MPI)
|
||||
# define DIY_NO_MPI
|
||||
# define VTKM_DIY_NO_MPI
|
||||
#endif
|
||||
|
||||
/* initially, we disable DIY threads.
|
||||
* once we've sorted out how DIY threads and vtkm work together
|
||||
* we will make this configurable.*/
|
||||
#define DIY_NO_THREADS
|
||||
#define VTKM_DIY_NO_THREADS
|
||||
|
||||
/* Need to provide a way to for Serialziation
|
||||
* specializations to be injected into the correct
|
||||
|
Loading…
Reference in New Issue
Block a user