VTK-m
2.2
vtkm
cont
internal
ArrayRangeComputeUtils.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_ArrayRangeComputeUtils_h
11
#define vtk_m_cont_internal_ArrayRangeComputeUtils_h
12
13
#include <
vtkm/VecTraits.h
>
14
15
#include <
vtkm/cont/ArrayHandle.h
>
16
#include <
vtkm/cont/vtkm_cont_export.h
>
17
18
namespace
vtkm
19
{
20
namespace
cont
21
{
22
namespace
internal
23
{
24
25
VTKM_CONT_EXPORT
vtkm::Id2
GetFirstAndLastUnmaskedIndices(
26
const
vtkm::cont::ArrayHandle<vtkm::UInt8>
& maskArray,
27
vtkm::cont::DeviceAdapterId
device =
vtkm::cont::DeviceAdapterTagAny
{});
28
29
}
30
}
31
}
// vtkm::cont::internal
32
33
#endif // vtk_m_cont_internal_ArrayRangeComputeUtils_h
vtkm::cont::ArrayHandle< vtkm::UInt8 >
ArrayHandle.h
vtkm
Groups connected points that have the same field value.
Definition:
Atomic.h:19
VTKM_CONT_EXPORT
#define VTKM_CONT_EXPORT
Definition:
vtkm_cont_export.h:44
vtkm_cont_export.h
vtkm::cont::DeviceAdapterTagAny
Tag for a device adapter used to specify that any device may be used for an operation.
Definition:
DeviceAdapterTag.h:180
vtkm::cont::DeviceAdapterId
An object used to specify a device.
Definition:
DeviceAdapterTag.h:58
vtkm::Vec< vtkm::Id, 2 >
VecTraits.h
Generated by
1.8.17