~ubuntu-branches/ubuntu/utopic/libthrust/utopic

« back to all changes in this revision

Viewing changes to system/omp/detail/sort.h

  • Committer: Package Import Robot
  • Author(s): Andreas Beckmann
  • Date: 2013-07-10 12:57:33 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20130710125733-my19jic71sqsabaj
Tags: 1.7.0-1
* New upstream release.  (Closes: #715362)
* Update watch file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
#pragma once
18
18
 
19
19
#include <thrust/detail/config.h>
20
 
#include <thrust/system/omp/detail/tag.h>
 
20
#include <thrust/system/omp/detail/execution_policy.h>
21
21
 
22
22
namespace thrust
23
23
{
28
28
namespace detail
29
29
{
30
30
 
31
 
template<typename RandomAccessIterator,
 
31
template<typename DerivedPolicy,
 
32
         typename RandomAccessIterator,
32
33
         typename StrictWeakOrdering>
33
 
void stable_sort(tag,
 
34
void stable_sort(execution_policy<DerivedPolicy> &exec,
34
35
                 RandomAccessIterator first,
35
36
                 RandomAccessIterator last,
36
37
                 StrictWeakOrdering comp);
37
38
    
38
 
template<typename RandomAccessIterator1,
 
39
template<typename DerivedPolicy,
 
40
         typename RandomAccessIterator1,
39
41
         typename RandomAccessIterator2,
40
42
         typename StrictWeakOrdering>
41
 
void stable_sort_by_key(tag,
 
43
void stable_sort_by_key(execution_policy<DerivedPolicy> &exec,
42
44
                        RandomAccessIterator1 keys_first,
43
45
                        RandomAccessIterator1 keys_last,
44
46
                        RandomAccessIterator2 values_first,