Go to the documentation of this file.
18 #ifndef viskores_cont_internal_ConvertNumComponentsToOffsetsTemplate_h
19 #define viskores_cont_internal_ConvertNumComponentsToOffsetsTemplate_h
39 template <
typename NumComponentsArrayType,
typename OffsetsStorage>
41 const NumComponentsArrayType& numComponentsArray,
52 device, make_ArrayHandleCast<viskores::Id>(numComponentsArray), offsetsArray);
58 template <
typename NumComponentsArrayType,
typename OffsetsStorage>
60 const NumComponentsArrayType& numComponentsArray,
69 device, viskores::cont::make_ArrayHandleCast<viskores::Id>(numComponentsArray), offsetsArray);
72 template <
typename NumComponentsArrayType>
74 const NumComponentsArrayType& numComponentsArray,
81 viskores::cont::internal::ConvertNumComponentsToOffsetsTemplate(
82 numComponentsArray, offsetsArray, componentsArraySize, device);
86 template <
typename NumComponentsArrayType>
88 const NumComponentsArrayType& numComponentsArray,
94 viskores::cont::internal::ConvertNumComponentsToOffsetsTemplate(
95 numComponentsArray, offsetsArray, device);
106 #endif // viskores_cont_internal_ConvertNumComponentsToOffsetsTemplate_h
#define VISKORES_IS_ARRAY_HANDLE(T)
Checks that the given type is a viskores::cont::ArrayHandle.
Definition: ArrayHandle.h:145
Manages an array-worth of data.
Definition: ArrayHandle.h:313
Tag for a device adapter used to specify that any device may be used for an operation.
Definition: DeviceAdapterTag.h:194
T ArrayGetValue(viskores::Id id, const viskores::cont::ArrayHandle< T, S > &data)
Obtain a small set of values from an ArrayHandle with minimal device transfers.
Definition: ArrayGetValues.h:270
viskores::Int64 Id
Base type to use to index arrays.
Definition: Types.h:235
#define VISKORES_CONT
Definition: ExportMacros.h:65
Groups connected points that have the same field value.
Definition: Atomic.h:27
Viskores Control Environment.
Definition: Algorithm.h:33
viskores::Id GetNumberOfValues() const
Returns the number of entries in the array.
Definition: ArrayHandle.h:482
static void ScanExtended(viskores::cont::DeviceAdapterId devId, const viskores::cont::ArrayHandle< T, CIn > &input, viskores::cont::ArrayHandle< T, COut > &output)
Definition: Algorithm.h:921
An object used to specify a device.
Definition: DeviceAdapterTag.h:66
#define VISKORES_LOG_SCOPE_FUNCTION(level)
Definition: Logging.h:225
@ Perf
General timing data and algorithm flow information, such as filter execution, worklet dispatches,...