Bolt  1.3
C++ template library with support for OpenCL
Public Member Functions | Public Attributes | List of all members
bolt::amp::unary_transform_if_functor< UnaryFunction, Predicate, iType, oType, S > Struct Template Reference

Public Member Functions

 __declspec (align(4)) UnaryFunction unary_op
 
 __declspec (align(4)) Predicate pred
 
 unary_transform_if_functor (UnaryFunction unary_op, Predicate pred)
 
oType operator() (iType &temp, S &stencil) const restrict(amp
 
 if (pred(stencil)) res
 

Public Attributes

oType cpu
 
else res = temp
 
return res
 

Member Data Documentation

template<typename UnaryFunction , typename Predicate , typename iType , typename oType , typename S >
oType bolt::amp::unary_transform_if_functor< UnaryFunction, Predicate, iType, oType, S >::cpu
Initial value:
{
oType res

The documentation for this struct was generated from the following file: