Go to the documentation of this file.
18 #ifndef viskores_cont_arg_TransportTagWholeArrayInOut_h
19 #define viskores_cont_arg_TransportTagWholeArrayInOut_h
49 template <
typename ContObjectType,
typename Device>
65 using ValueType =
typename ContObjectType::ValueType;
70 template <
typename InputDomainType>
72 const InputDomainType&,
81 return array.PrepareForInPlace(Device{}, token);
92 #endif //viskores_cont_arg_TransportTagWholeArrayInOut_h
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::ValueType ValueType
Definition: TransportTagWholeArrayInOut.h:65
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
ExecObjectType operator()(ContObjectType &array, const InputDomainType &, viskores::Id, viskores::Id, viskores::cont::Token &token) const
Definition: TransportTagWholeArrayInOut.h:71
#define VISKORES_DEPRECATED_SUPPRESS_END
Definition: Deprecated.h:132
typename ContObjectType::WritePortalType ExecObjectType
Definition: TransportTagWholeArrayInOut.h:68
Transport tag for in-place arrays with random access.
Definition: TransportTagWholeArrayInOut.h:45
typename ContObjectType::StorageTag StorageTag
Definition: TransportTagWholeArrayInOut.h:66
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