21 #ifndef ROCPRIM_TYPES_FUTURE_VALUE_HPP_    22 #define ROCPRIM_TYPES_FUTURE_VALUE_HPP_    24 #include "../config.hpp"    29 BEGIN_ROCPRIM_NAMESPACE
    54 template <
typename T, 
typename Iter = T*>
    70     ROCPRIM_HOST_DEVICE 
operator T()
    77     ROCPRIM_HOST_DEVICE 
operator T()
 const    95     template <
typename T, 
typename Iter>
    96     ROCPRIM_HOST_DEVICE T 
get_input_value(::rocprim::future_value<T, Iter> future) {
   102         using value_type = T;
   105     template <
class T, 
typename Iter> 
   108         using value_type    = T;
   109         using iterator_type = Iter;
   112     template <
typename T>
   113     using input_type_t = 
typename input_value_traits<T>::value_type;
   115     template <
typename T>
   119 END_ROCPRIM_NAMESPACE
 ROCPRIM_HOST_DEVICE future_value(const Iter iter)
Constructs a future value. 
Definition: future_value.hpp:63
T value_type
The type of the value this future will store. 
Definition: future_value.hpp:58
ROCPRIM_HOST_DEVICE T get_input_value(const T value)
Used for unpacking a future_value, basically just a cast but its more explicit this way...
Definition: future_value.hpp:90
Deprecated: Configuration of device-level scan primitives. 
Definition: block_histogram.hpp:62
Allows passing values that are not yet known at launch time as paramters to device algorithms...
Definition: future_value.hpp:55
Iter iterator_type
An iterator type that can point at the value_type. 
Definition: future_value.hpp:59