VTK-m
2.2
vtkm
cont
DIYMemoryManagement.h
Go to the documentation of this file.
1
//============================================================================
2
// Copyright (c) Kitware, Inc.
3
// All rights reserved.
4
// See LICENSE.txt for details.
5
//
6
// This software is distributed WITHOUT ANY WARRANTY; without even
7
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8
// PURPOSE. See the above copyright notice for more information.
9
//============================================================================
10
#ifndef vtk_m_cont_internal_DIYMemoryManagement_h
11
#define vtk_m_cont_internal_DIYMemoryManagement_h
12
13
#include <
vtkm/cont/DeviceAdapterTag.h
>
14
#include <
vtkm/cont/vtkm_cont_export.h
>
15
#include <vtkm/thirdparty/diy/diy.h>
16
17
namespace
vtkm
18
{
19
namespace
cont
20
{
21
22
VTKM_CONT_EXPORT
vtkm::cont::DeviceAdapterId
GetDIYDeviceAdapter
();
23
25
VTKM_CONT_EXPORT
void
DIYMasterExchange
(vtkmdiy::Master& master,
bool
remote =
false
);
26
27
}
28
}
29
30
#endif
vtkm
Groups connected points that have the same field value.
Definition:
Atomic.h:19
DeviceAdapterTag.h
vtkm::cont::GetDIYDeviceAdapter
vtkm::cont::DeviceAdapterId GetDIYDeviceAdapter()
VTKM_CONT_EXPORT
#define VTKM_CONT_EXPORT
Definition:
vtkm_cont_export.h:44
vtkm_cont_export.h
vtkm::cont::DeviceAdapterId
An object used to specify a device.
Definition:
DeviceAdapterTag.h:58
vtkm::cont::DIYMasterExchange
void DIYMasterExchange(vtkmdiy::Master &master, bool remote=false)
Wraps vtkmdiy::Master::exchange by setting its appropiate vtkmdiy::MemoryManagement.
Generated by
1.8.17