Bolt  1.3
C++ template library with support for OpenCL
scan.h
Go to the documentation of this file.
1 /***************************************************************************
2 * © 2012,2014 Advanced Micro Devices, Inc. All rights reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 
16 ***************************************************************************/
17 
18 /******************************************************************************
19  * AMP Scan
20  *****************************************************************************/
21 
27 #if !defined( BOLT_AMP_SCAN_H )
28 #define BOLT_AMP_SCAN_H
29 #pragma once
30 
31 #include <bolt/amp/bolt.h>
32 
33 namespace bolt
34 {
35 namespace amp
36 {
37 
74 template< typename InputIterator, typename OutputIterator >
75 OutputIterator
77  control &ctl,
78  InputIterator first,
79  InputIterator last,
80  OutputIterator result);
81 
82 template< typename InputIterator, typename OutputIterator >
83 OutputIterator
85  InputIterator first,
86  InputIterator last,
87  OutputIterator result);
88 
113 template< typename InputIterator, typename OutputIterator, typename BinaryFunction >
114 OutputIterator
116  control &ctl,
117  InputIterator first,
118  InputIterator last,
119  OutputIterator result,
120  BinaryFunction binary_op);
121 
122 template< typename InputIterator, typename OutputIterator, typename BinaryFunction >
123 OutputIterator
125  InputIterator first,
126  InputIterator last,
127  OutputIterator result,
128  BinaryFunction binary_op);
129 
130 
154 template< typename InputIterator, typename OutputIterator >
155 OutputIterator
157  control& ctl,
158  InputIterator first,
159  InputIterator last,
160  OutputIterator result );
161 
162 template< typename InputIterator, typename OutputIterator >
163 OutputIterator
165  InputIterator first,
166  InputIterator last,
167  OutputIterator result);
168 
169 
197 template< typename InputIterator, typename OutputIterator, typename T >
198 OutputIterator
200  control& ctl,
201  InputIterator first,
202  InputIterator last,
203  OutputIterator result,
204  T init);
205 
206 template< typename InputIterator, typename OutputIterator, typename T >
207 OutputIterator
209  InputIterator first,
210  InputIterator last,
211  OutputIterator result,
212  T init);
213 
242 template< typename InputIterator, typename OutputIterator, typename T, typename BinaryFunction >
243 OutputIterator
245  control &ctl,
246  InputIterator first,
247  InputIterator last,
248  OutputIterator result,
249  T init,
250  BinaryFunction binary_op);
251 
252 template< typename InputIterator, typename OutputIterator, typename T, typename BinaryFunction >
253 OutputIterator
255  InputIterator first,
256  InputIterator last,
257  OutputIterator result,
258  T init,
259  BinaryFunction binary_op);
260 
261 
262 
263 
265 }// end of bolt::amp namespace
266 }// end of bolt namespace
267 
268 #include <bolt/amp/detail/scan.inl>
269 
270 #endif // BOLT_AMP_SCAN_H