Bolt  1.3
C++ template library with support for OpenCL
Public Member Functions | Public Attributes | List of all members
bolt::amp::detail::amp::bool_to_int< Predicate > Struct Template Reference

Public Member Functions

 bool_to_int (Predicate &_pred)
 
template<typename T >
int operator() (T &x) const restrict(amp
 

Public Attributes

Predicate pred
 
int cpu
 

Member Data Documentation

template<typename Predicate >
int bolt::amp::detail::amp::bool_to_int< Predicate >::cpu
Initial value:
{
return pred(x) ? 1 : 0

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