Go to the documentation of this file.
18 #ifndef viskores_cont_arg_TransportTagArrayIn_h
19 #define viskores_cont_arg_TransportTagArrayIn_h
44 template <
typename ContObjectType,
typename Device>
58 using ExecObjectType = decltype(std::declval<ContObjectType>().PrepareForInput(
60 std::declval<viskores::cont::Token&>()));
62 template <
typename InputDomainType>
69 if (
object.GetNumberOfValues() != inputRange)
74 return object.PrepareForInput(Device(), token);
85 #endif //viskores_cont_arg_TransportTagArrayIn_h
Transport tag for input arrays.
Definition: TransportTagArrayIn.h:40
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
ExecObjectType operator()(const ContObjectType &object, const InputDomainType &, viskores::Id inputRange, viskores::Id, viskores::cont::Token &token) const
Definition: TransportTagArrayIn.h:63
#define viskoresNotUsed(parameter_name)
Simple macro to identify a parameter as unused.
Definition: ExportMacros.h:136
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
#define VISKORES_DEPRECATED_SUPPRESS_END
Definition: Deprecated.h:132
This class is thrown when a Viskores function or method encounters an invalid value that inhibits pro...
Definition: ErrorBadValue.h:33
decltype(std::declval< ContObjectType >().PrepareForInput(Device(), std::declval< viskores::cont::Token & >())) ExecObjectType
Definition: TransportTagArrayIn.h:60
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