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

« back to all changes in this revision

Viewing changes to system/tbb/detail/reduce.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:
22
22
#pragma once
23
23
 
24
24
#include <thrust/detail/config.h>
25
 
#include <thrust/system/tbb/detail/tag.h>
 
25
#include <thrust/system/tbb/detail/execution_policy.h>
26
26
 
27
27
namespace thrust
28
28
{
34
34
{
35
35
 
36
36
 
37
 
template<typename InputIterator, 
 
37
template<typename DerivedPolicy,
 
38
         typename InputIterator, 
38
39
         typename OutputType,
39
40
         typename BinaryFunction>
40
 
  OutputType reduce(tag,
 
41
  OutputType reduce(execution_policy<DerivedPolicy> &exec,
41
42
                    InputIterator begin,
42
43
                    InputIterator end,
43
44
                    OutputType init,