Go to the documentation of this file.
18 #ifndef viskores_cont_arg_TransportTagWholeArrayOut_h
19 #define viskores_cont_arg_TransportTagWholeArrayOut_h
49 template <
typename ContObjectType,
typename Device>
65 using ValueType =
typename ContObjectType::ValueType;
70 template <
typename InputDomainType>
72 const InputDomainType&,
81 return array.PrepareForOutput(array.GetNumberOfValues(), Device{}, token);
92 #endif //viskores_cont_arg_TransportTagWholeArrayOut_h
Transport tag for in-place arrays with random access.
Definition: TransportTagWholeArrayOut.h:45
Class for transporting from the control to the execution environment.
Definition: Transport.h:46
#define VISKORES_IS_ARRAY_HANDLE(T)
Checks that the given type is a viskores::cont::ArrayHandle.
Definition: ArrayHandle.h:145
typename ContObjectType::StorageTag StorageTag
Definition: TransportTagWholeArrayOut.h:66
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
typename ContObjectType::WritePortalType ExecObjectType
Definition: TransportTagWholeArrayOut.h:68
#define VISKORES_DEPRECATED_SUPPRESS_END
Definition: Deprecated.h:132
ExecObjectType operator()(ContObjectType &array, const InputDomainType &, viskores::Id, viskores::Id, viskores::cont::Token &token) const
Definition: TransportTagWholeArrayOut.h:71
typename ContObjectType::ValueType ValueType
Definition: TransportTagWholeArrayOut.h:65
A token to hold the scope of an ArrayHandle or other object.
Definition: Token.h:43
#define VISKORES_DEPRECATED_SUPPRESS_BEGIN
Definition: Deprecated.h:131