Viskores
1.0
viskores
cont
tbb
internal
DeviceAdapterMemoryManagerTBB.h
Go to the documentation of this file.
1
//============================================================================
2
// The contents of this file are covered by the Viskores license. See
3
// LICENSE.txt for details.
4
//
5
// By contributing to this file, all contributors agree to the Developer
6
// Certificate of Origin Version 1.1 (DCO 1.1) as stated in DCO.txt.
7
//============================================================================
8
9
//============================================================================
10
// Copyright (c) Kitware, Inc.
11
// All rights reserved.
12
// See LICENSE.txt for details.
13
//
14
// This software is distributed WITHOUT ANY WARRANTY; without even
15
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16
// PURPOSE. See the above copyright notice for more information.
17
//============================================================================
18
#ifndef viskores_cont_tbb_internal_DeviceAdapterMemoryManagerTBB_h
19
#define viskores_cont_tbb_internal_DeviceAdapterMemoryManagerTBB_h
20
21
#include <
viskores/cont/tbb/internal/DeviceAdapterTagTBB.h
>
22
23
#include <
viskores/cont/internal/DeviceAdapterMemoryManagerShared.h
>
24
25
namespace
viskores
26
{
27
namespace
cont
28
{
29
namespace
internal
30
{
31
32
template
<>
33
class
DeviceAdapterMemoryManager<
viskores
::cont::DeviceAdapterTagTBB>
34
:
public
viskores::cont::internal::DeviceAdapterMemoryManagerShared
35
{
36
VISKORES_CONT
viskores::cont::DeviceAdapterId
GetDevice()
const override
37
{
38
return
viskores::cont::DeviceAdapterTagTBB
{};
39
}
40
};
41
}
42
}
43
}
44
45
#endif //viskores_cont_tbb_internal_DeviceAdapterMemoryManagerTBB_h
DeviceAdapterMemoryManagerShared.h
DeviceAdapterTagTBB.h
VISKORES_CONT
#define VISKORES_CONT
Definition:
ExportMacros.h:65
viskores
Groups connected points that have the same field value.
Definition:
Atomic.h:27
viskores::cont::DeviceAdapterId
An object used to specify a device.
Definition:
DeviceAdapterTag.h:66
viskores::cont::DeviceAdapterTagTBB
Tag for a device adapter that uses the Intel Threading Building Blocks library to run algorithms on m...
Definition:
DeviceAdapterTagTBB.h:37
Generated by
1.8.17