Bolt
1.1
C++ template library with support for OpenCL
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Bolt_Clone_master
include
bolt
cl
scatter.h
Go to the documentation of this file.
1
/***************************************************************************
2
* Copyright 2012 - 2013 Advanced Micro Devices, Inc.
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
#if !defined( BOLT_CL_SCATTER_H )
19
#define BOLT_CL_SCATTER_H
20
#pragma once
21
22
#include "
bolt/cl/bolt.h
"
23
#include "
bolt/cl/device_vector.h
"
24
25
#include <string>
26
#include <iostream>
27
33
namespace
bolt {
34
namespace
cl {
35
84
template
<
typename
InputIterator1,
85
typename
InputIterator2,
86
typename
OutputIterator >
87
void
scatter
( ::
bolt::cl::control
&ctl,
88
InputIterator1 first,
89
InputIterator1 last,
90
InputIterator2 map,
91
OutputIterator result,
92
const
std::string& user_code=
""
);
93
94
template
<
typename
InputIterator1,
95
typename
InputIterator2,
96
typename
OutputIterator >
97
void
scatter
( InputIterator1 first,
98
InputIterator1 last1,
99
InputIterator2 map,
100
OutputIterator result,
101
const
std::string& user_code=
""
);
102
140
template
<
typename
InputIterator1,
141
typename
InputIterator2,
142
typename
InputIterator3,
143
typename
OutputIterator >
144
void
scatter_if
(
bolt::cl::control
&ctl,
145
InputIterator1 first1,
146
InputIterator1 last1,
147
InputIterator2 map,
148
InputIterator3 stencil,
149
OutputIterator result,
150
const
std::string& user_code=
""
);
151
152
template
<
typename
InputIterator1,
153
typename
InputIterator2,
154
typename
InputIterator3,
155
typename
OutputIterator >
156
void
scatter_if
( InputIterator1 first1,
157
InputIterator1 last1,
158
InputIterator2 map,
159
InputIterator3 stencil,
160
OutputIterator result,
161
const
std::string& user_code=
""
);
162
213
template
<
typename
InputIterator1,
214
typename
InputIterator2,
215
typename
InputIterator3,
216
typename
OutputIterator,
217
typename
BinaryPredicate >
218
void
scatter_if
(
bolt::cl::control
&ctl,
219
InputIterator1 first1,
220
InputIterator1 last1,
221
InputIterator2 map,
222
InputIterator3 stencil,
223
OutputIterator result,
224
BinaryPredicate pred,
225
const
std::string& user_code=
""
);
226
227
template
<
typename
InputIterator1,
228
typename
InputIterator2,
229
typename
InputIterator3,
230
typename
OutputIterator,
231
typename
BinaryPredicate >
232
void
scatter_if
( InputIterator1 first1,
233
InputIterator1 last1,
234
InputIterator2 map,
235
InputIterator3 stencil,
236
OutputIterator result,
237
BinaryPredicate pred,
238
const
std::string& user_code=
""
);
239
240
242
};
243
};
244
245
#include <bolt/cl/detail/scatter.inl>
246
#endif
Generated on Mon Nov 11 2013 14:17:19 for Bolt by
1.8.3