Bolt
1.3
C++ template library with support for OpenCL
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
bgldinar16
Jenkins_FS_Root
workspace
Bolt_Clone_Local_develop
include
bolt
cl
generate.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
#if !defined( BOLT_CL_GENERATE_H )
19
#define BOLT_CL_GENERATE_H
20
#pragma once
21
22
#include "
bolt/cl/device_vector.h
"
23
28
namespace
bolt {
29
namespace
cl {
30
88
template
<
typename
ForwardIterator,
typename
Generator>
89
void
generate
(
90
bolt::cl::control
&ctl,
91
ForwardIterator first,
92
ForwardIterator last,
93
Generator gen,
94
const
std::string& cl_code=
""
);
95
96
template
<
typename
ForwardIterator,
typename
Generator>
97
void
generate
(
98
ForwardIterator first,
99
ForwardIterator last,
100
Generator gen,
101
const
std::string& cl_code=
""
);
102
149
template
<
typename
OutputIterator,
typename
Size,
typename
Generator>
150
OutputIterator
generate_n
(
151
bolt::cl::control
&ctl,
152
OutputIterator first,
153
Size n,
154
Generator gen,
155
const
std::string& cl_code=
""
);
156
157
template
<
typename
OutputIterator,
typename
Size,
typename
Generator>
158
OutputIterator
generate_n
(
159
OutputIterator first,
160
Size n,
161
Generator gen,
162
const
std::string& cl_code=
""
);
163
165
};
166
};
167
168
#include <bolt/cl/detail/generate.inl>
169
#endif
Generated on Wed Nov 26 2014 18:38:32 for Bolt by
1.8.3