Bolt  1.1
C++ template library with support for OpenCL
Namespaces | Macros | Functions
transform.h File Reference

Applies a specific function object to each element pair in the specified input ranges. More...

#include <amp.h>
#include "bolt/amp/functional.h"
#include "bolt/amp/bolt.h"
#include <string>
#include <assert.h>
#include <bolt/amp/detail/transform.inl>

Go to the source code of this file.

Namespaces

namespace  bolt
 Defining namespace for the Bolt project.
 
namespace  bolt::amp
 Namespace containing AMP related data types and functions.
 

Functions

template<typename InputIterator , typename OutputIterator , typename UnaryFunction >
void bolt::amp::transform (control &ctl, InputIterator first, InputIterator last, OutputIterator result, UnaryFunction op)
 
template<typename InputIterator , typename OutputIterator , typename UnaryFunction >
void bolt::amp::transform (InputIterator first, InputIterator last, OutputIterator result, UnaryFunction op)
 
template<typename InputIterator1 , typename InputIterator2 , typename OutputIterator , typename BinaryFunction >
void bolt::amp::transform (control &ctl, InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, OutputIterator result, BinaryFunction op)
 
template<typename InputIterator1 , typename InputIterator2 , typename OutputIterator , typename BinaryFunction >
void bolt::amp::transform (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, OutputIterator result, BinaryFunction op)
 

Detailed Description

Applies a specific function object to each element pair in the specified input ranges.