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

Return Same Value or Constant Value on dereferencing. More...

#include "bolt/cl/bolt.h"
#include "bolt/cl/iterator/iterator_traits.h"
#include <boost/iterator/iterator_facade.hpp>

Go to the source code of this file.

Classes

struct  bolt::cl::constant_iterator_tag
 
class  bolt::cl::constant_iterator< value_type >
 
struct  bolt::cl::constant_iterator< value_type >::Payload
 

Namespaces

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

Functions

template<typename Type >
constant_iterator< Type > bolt::cl::make_constant_iterator (Type constValue)
 
 BOLT_CREATE_TYPENAME (bolt::cl::constant_iterator< int >)
 
 BOLT_CREATE_CLCODE (bolt::cl::constant_iterator< int >, bolt::cl::deviceConstantIterator)
 
 BOLT_TEMPLATE_REGISTER_NEW_TYPE (bolt::cl::constant_iterator, int, unsigned int)
 
 BOLT_TEMPLATE_REGISTER_NEW_TYPE (bolt::cl::constant_iterator, int, float)
 
 BOLT_TEMPLATE_REGISTER_NEW_TYPE (bolt::cl::constant_iterator, int, double)
 

Detailed Description

Return Same Value or Constant Value on dereferencing.