18 #if !defined( BOLT_AMP_GATHER_H )
19 #define BOLT_AMP_GATHER_H
76 template<
typename InputIterator1,
77 typename InputIterator2,
78 typename OutputIterator >
80 InputIterator1 map_first,
81 InputIterator1 map_last,
82 InputIterator2 input_first,
83 OutputIterator result );
85 template<
typename InputIterator1,
86 typename InputIterator2,
87 typename OutputIterator >
88 void gather( InputIterator1 map_first,
89 InputIterator1 map_last,
90 InputIterator2 input_first,
91 OutputIterator result );
127 template<
typename InputIterator1,
128 typename InputIterator2,
129 typename InputIterator3,
130 typename OutputIterator >
132 InputIterator1 map_first,
133 InputIterator1 map_last,
134 InputIterator2 stencil,
135 InputIterator3 input_first,
136 OutputIterator result);
138 template<
typename InputIterator1,
139 typename InputIterator2,
140 typename InputIterator3,
141 typename OutputIterator >
142 void gather_if( InputIterator1 map_first,
143 InputIterator1 map_last,
144 InputIterator2 stencil,
145 InputIterator3 input_first,
146 OutputIterator result);
194 template<
typename InputIterator1,
195 typename InputIterator2,
196 typename InputIterator3,
197 typename OutputIterator,
200 InputIterator1 map_first,
201 InputIterator1 map_last,
202 InputIterator2 stencil,
203 InputIterator3 input,
204 OutputIterator result,
207 template<
typename InputIterator1,
208 typename InputIterator2,
209 typename InputIterator3,
210 typename OutputIterator,
212 void gather_if( InputIterator1 map_first,
213 InputIterator1 map_last,
214 InputIterator2 stencil,
215 InputIterator3 input,
216 OutputIterator result,
224 #include <bolt/amp/detail/gather.inl>