@@ -56,17 +56,14 @@ namespace raft
56
56
class kernel_pair_t
57
57
{
58
58
/* * container with ref wrapper **/
59
- template < class CONTAINER > using kernel_pair_t_base =
60
- CONTAINER< std::reference_wrapper< raft::kernel > > >;
61
- /* * instantiation of vector as that container type **/
62
- using kernel_pair_t_container = kernel_pair_t_base< std::vector >;
63
-
59
+ using kernel_pair_t_container =
60
+ std::vector< std::reference_wrapper< raft::kernel> >;
64
61
65
62
public:
66
63
/* *
67
64
* define iterator type publicly
68
65
*/
69
- using kernel_iterator_type = typename kernel_pair_t_container::iterator_type ;
66
+ using kernel_iterator_type = kernel_pair_t_container::iterator ;
70
67
/* *
71
68
* endpoint ret type is a std::pair with
72
69
* two iterators, one for begin, the second
@@ -119,31 +116,31 @@ class kernel_pair_t
119
116
* to end();
120
117
* @return endpoint_ret_type
121
118
*/
122
- endpoint_ret_type getSrc ();
119
+ kernel_pair_t :: endpoint_ret_type getSrc ();
123
120
/* *
124
121
* getSrcSize - returns the size of the source
125
122
* container. This is the number of kernels
126
123
* within the last map addition.
127
124
* @return size_type - number of kernels in source
128
125
* container
129
126
*/
130
- size_type getSrcSize () noexcept ;
127
+ kernel_pair_t :: size_type getSrcSize () noexcept ;
131
128
/* *
132
129
* getDst - return a std::pair object with iterators
133
130
* to the dst list of kernels added in the last map
134
131
* addition. Again, pair.first maps ot begin(), and
135
132
* pair.second maps to end();
136
133
* @return endpoint_ret_type
137
134
*/
138
- endpoint_ret_type getDst ();
135
+ kernel_pair_t :: endpoint_ret_type getDst ();
139
136
/* *
140
137
* getDstSize - returns the size of the destination
141
138
* container. This is the number of kernels
142
139
* within the last map addition.
143
140
* @return size_type - number of kernels in source
144
141
* container
145
142
*/
146
- size_type getDstSize () noexcept ;
143
+ kernel_pair_t :: size_type getDstSize () noexcept ;
147
144
/* *
148
145
* addSrc - add a source kernel to this pair object
149
146
* which is retreivable by the getSrc. If this object
0 commit comments