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

« back to all changes in this revision

Viewing changes to system/cuda/detail/fill.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/cuda/detail/tag.h>
 
25
#include <thrust/system/cuda/detail/execution_policy.h>
26
26
 
27
27
namespace thrust
28
28
{
33
33
namespace detail
34
34
{
35
35
 
36
 
template<typename ForwardIterator, typename T>
37
 
  void fill(tag,
 
36
template<typename DerivedPolicy, typename ForwardIterator, typename T>
 
37
  void fill(execution_policy<DerivedPolicy> &exec,
38
38
            ForwardIterator first,
39
39
            ForwardIterator last,
40
40
            const T &value);
41
41
 
42
 
template<typename OutputIterator, typename Size, typename T>
43
 
  OutputIterator fill_n(tag,
 
42
template<typename DerivedPolicy, typename OutputIterator, typename Size, typename T>
 
43
  OutputIterator fill_n(execution_policy<DerivedPolicy> &exec,
44
44
                        OutputIterator first,
45
45
                        Size n,
46
46
                        const T &value);