VTK-m
2.0
vtkm
cont
tbb
internal
DeviceAdapterTagTBB.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_DeviceAdapterTagTBB_h
11
#define vtk_m_cont_tbb_internal_DeviceAdapterTagTBB_h
12
13
#include <
vtkm/cont/DeviceAdapterTag.h
>
14
15
//We always create the tbb tag when included, but we only mark it as
16
//a valid tag when VTKM_ENABLE_TBB is true. This is for easier development
17
//of multi-backend systems
18
#ifdef VTKM_ENABLE_TBB
19
VTKM_VALID_DEVICE_ADAPTER
(TBB,
VTKM_DEVICE_ADAPTER_TBB
);
20
#else
21
VTKM_INVALID_DEVICE_ADAPTER
(TBB,
VTKM_DEVICE_ADAPTER_TBB
);
22
#endif
23
24
#endif //vtk_m_cont_tbb_internal_DeviceAdapterTagTBB_h
VTKM_VALID_DEVICE_ADAPTER
VTKM_VALID_DEVICE_ADAPTER(Serial, VTKM_DEVICE_ADAPTER_SERIAL)
DeviceAdapterTag.h
VTKM_INVALID_DEVICE_ADAPTER
VTKM_INVALID_DEVICE_ADAPTER(TBB, VTKM_DEVICE_ADAPTER_TBB)
VTKM_DEVICE_ADAPTER_TBB
#define VTKM_DEVICE_ADAPTER_TBB
Definition:
DeviceAdapterTag.h:38
Generated by
1.8.17