Viskores
1.0
viskores
cont
internal
ArrayRangeComputeUtils.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_internal_ArrayRangeComputeUtils_h
19
#define viskores_cont_internal_ArrayRangeComputeUtils_h
20
21
#include <
viskores/VecTraits.h
>
22
23
#include <
viskores/cont/ArrayHandle.h
>
24
#include <
viskores/cont/viskores_cont_export.h
>
25
26
namespace
viskores
27
{
28
namespace
cont
29
{
30
namespace
internal
31
{
32
33
VISKORES_CONT_EXPORT
viskores::Id2
GetFirstAndLastUnmaskedIndices(
34
const
viskores::cont::ArrayHandle<viskores::UInt8>
& maskArray,
35
viskores::cont::DeviceAdapterId
device =
viskores::cont::DeviceAdapterTagAny
{});
36
37
}
38
}
39
}
// viskores::cont::internal
40
41
#endif // viskores_cont_internal_ArrayRangeComputeUtils_h
ArrayHandle.h
viskores::cont::ArrayHandle< viskores::UInt8 >
viskores::cont::DeviceAdapterTagAny
Tag for a device adapter used to specify that any device may be used for an operation.
Definition:
DeviceAdapterTag.h:194
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::Vec< viskores::Id, 2 >
VecTraits.h
viskores_cont_export.h
Generated by
1.8.17