22 #ifndef vtkPistonMinMax_h
23 #define vtkPistonMinMax_h
25 #include <thrust/device_vector.h>
26 #include <thrust/host_vector.h>
27 #include <thrust/transform_reduce.h>
28 #include <thrust/functional.h>
29 #include <thrust/extrema.h>
30 #include <thrust/random.h>
50 :
public thrust::unary_function< T, minmax_pair<T> >
68 :
public thrust::binary_function< minmax_pair<T>, minmax_pair<T>, minmax_pair<T> >
74 result.min_val = thrust::min(
x.min_val,
y.min_val);
92 data->begin(),
data->end(), unary_op, init, binary_op);
98 #endif // vtkPistonMinMax_h