2
* Copyright 2008-2012 NVIDIA Corporation
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
8
* http://www.apache.org/licenses/LICENSE-2.0
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.
19
#include <thrust/detail/config.h>
20
#include <thrust/system/tbb/detail/execution_policy.h>
21
#include <thrust/pair.h>
33
template<typename DerivedPolicy,
34
typename ForwardIterator,
36
ForwardIterator stable_partition(execution_policy<DerivedPolicy> &exec,
37
ForwardIterator first,
41
template<typename DerivedPolicy,
42
typename ForwardIterator,
43
typename InputIterator,
45
ForwardIterator stable_partition(execution_policy<DerivedPolicy> &exec,
46
ForwardIterator first,
48
InputIterator stencil,
51
template<typename DerivedPolicy,
52
typename InputIterator,
53
typename OutputIterator1,
54
typename OutputIterator2,
56
thrust::pair<OutputIterator1,OutputIterator2>
57
stable_partition_copy(execution_policy<DerivedPolicy> &exec,
60
OutputIterator1 out_true,
61
OutputIterator2 out_false,
65
template<typename DerivedPolicy,
66
typename InputIterator1,
67
typename InputIterator2,
68
typename OutputIterator1,
69
typename OutputIterator2,
71
thrust::pair<OutputIterator1,OutputIterator2>
72
stable_partition_copy(execution_policy<DerivedPolicy> &exec,
75
InputIterator2 stencil,
76
OutputIterator1 out_true,
77
OutputIterator2 out_false,
81
} // end namespace detail
82
} // end namespace tbb
83
} // end namespace system
84
} // end namespace thrust
86
#include <thrust/system/tbb/detail/partition.inl>