VTK-m
2.2
vtkm
cont
tbb
internal
DeviceAdapterMemoryManagerTBB.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_tbb_internal_DeviceAdapterMemoryManagerTBB_h
11
#define vtk_m_cont_tbb_internal_DeviceAdapterMemoryManagerTBB_h
12
13
#include <
vtkm/cont/tbb/internal/DeviceAdapterTagTBB.h
>
14
15
#include <
vtkm/cont/internal/DeviceAdapterMemoryManagerShared.h
>
16
17
namespace
vtkm
18
{
19
namespace
cont
20
{
21
namespace
internal
22
{
23
24
template
<>
25
class
DeviceAdapterMemoryManager<
vtkm
::cont::DeviceAdapterTagTBB>
26
:
public
vtkm::cont::internal::DeviceAdapterMemoryManagerShared
27
{
28
VTKM_CONT
vtkm::cont::DeviceAdapterId
GetDevice()
const override
29
{
30
return
vtkm::cont::DeviceAdapterTagTBB
{};
31
}
32
};
33
}
34
}
35
}
36
37
#endif //vtk_m_cont_tbb_internal_DeviceAdapterMemoryManagerTBB_h
vtkm
Groups connected points that have the same field value.
Definition:
Atomic.h:19
DeviceAdapterMemoryManagerShared.h
DeviceAdapterTagTBB.h
VTKM_CONT
#define VTKM_CONT
Definition:
ExportMacros.h:57
vtkm::cont::DeviceAdapterTagTBB
Tag for a device adapter that uses the Intel Threading Building Blocks library to run algorithms on m...
Definition:
DeviceAdapterTagTBB.h:27
vtkm::cont::DeviceAdapterId
An object used to specify a device.
Definition:
DeviceAdapterTag.h:58
Generated by
1.8.17