cl::detail Namespace Reference

## Classes

struct | ReferenceHandler
struct | param_traits
struct | GetInfoFunctor0
struct | GetInfoFunctor1
struct | ReferenceHandler< cl_device_id >
struct | ReferenceHandler< cl_platform_id >
struct | ReferenceHandler< cl_context >
struct | ReferenceHandler< cl_command_queue >
struct | ReferenceHandler< cl_mem >
struct | ReferenceHandler< cl_sampler >
struct | ReferenceHandler< cl_program >
struct | ReferenceHandler< cl_kernel >
struct | ReferenceHandler< cl_event >
class | Wrapper
class | Wrapper< cl_device_id >
struct | KernelArgumentHandler
struct | KernelArgumentHandler< LocalSpaceArg >
class | NullType
struct | SetArg
struct | SetArg< index, NullType >
class | KernelFunctorGlobal
struct | functionImplementation_
struct | functionImplementation_< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, T29, T30, NullType >
struct | functionImplementation_< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, T29, NullType, NullType >
struct | functionImplementation_< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, NullType, NullType, NullType >
struct | functionImplementation_< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, NullType, NullType, NullType, NullType >
struct | functionImplementation_< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, NullType, NullType, NullType, NullType, NullType >
struct | functionImplementation_< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, NullType, NullType, NullType, NullType, NullType, NullType >
struct | functionImplementation_< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, NullType, NullType, NullType, NullType, NullType, NullType, NullType >
struct | functionImplementation_< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType >
struct | functionImplementation_< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType >
struct | functionImplementation_< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType >
struct | functionImplementation_< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType >
struct | functionImplementation_< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType >
struct | functionImplementation_< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType >
struct | functionImplementation_< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType >
struct | functionImplementation_< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType >
struct | functionImplementation_< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType >
struct | functionImplementation_< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType >
struct | functionImplementation_< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType >
struct | functionImplementation_< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType >
struct | functionImplementation_< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType >
struct | functionImplementation_< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType >
struct | functionImplementation_< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType >
struct | functionImplementation_< T0, T1, T2, T3, T4, T5, T6, T7, T8, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType >
struct | functionImplementation_< T0, T1, T2, T3, T4, T5, T6, T7, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType >
struct | functionImplementation_< T0, T1, T2, T3, T4, T5, T6, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType >
struct | functionImplementation_< T0, T1, T2, T3, T4, T5, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType >
struct | functionImplementation_< T0, T1, T2, T3, T4, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType >
struct | functionImplementation_< T0, T1, T2, T3, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType >
struct | functionImplementation_< T0, T1, T2, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType >
struct | functionImplementation_< T0, T1, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType >
struct | functionImplementation_< T0, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType, NullType >

## Functions

int | compare_exchange (volatile int *dest, int exchange, int comparand)
void | fence ()
template<typename Functor , typename T >
cl_int | getInfoHelper (Functor f, cl_uint name, T *param, long)
template<typename Func , typename T >
cl_int | getInfoHelper (Func f, cl_uint name, VECTOR_CLASS< T > *param, long)
template<typename Func , typename T >
cl_int | getInfoHelper (Func f, cl_uint name, VECTOR_CLASS< T > *param, int, typename T::cl_type=0)
template<typename Func >
cl_int | getInfoHelper (Func f, cl_uint name, VECTOR_CLASS< char * > *param, int)
template<typename Func >
cl_int | getInfoHelper (Func f, cl_uint name, STRING_CLASS *param, long)
template<typename Func , ::size_t N>
cl_int | getInfoHelper (Func f, cl_uint name, size_t< N > *param, long)
template<typename Func , typename T >
cl_int | getInfoHelper (Func f, cl_uint name, T *param, int, typename T::cl_type=0)
template<typename Func , typename T >
cl_int | getInfo (Func f, cl_uint name, T *param)
template<typename Func , typename Arg0 , typename T >
cl_int | getInfo (Func f, const Arg0 &arg0, cl_uint name, T *param)
template<typename Func , typename Arg0 , typename Arg1 , typename T >
cl_int | getInfo (Func f, const Arg0 &arg0, const Arg1 &arg1, cl_uint name, T *param)

## Function Documentation

## compare_exchange()

int cl::detail::compare_exchange | ( | volatile int * | dest,
|  | int | exchange,
|  | int | comparand
| ) |  |

inline

Definition at line 962 of file cl.hpp.

## fence()

void cl::detail::fence | ( |  | ) |

inline

Definition at line 981 of file cl.hpp.

## getInfo() [1/3]

template<typename Func , typename T >

cl_int cl::detail::getInfo | ( | Func | f,
|  | cl_uint | name,
|  | T * | param
| ) |  |

inline

Definition at line 1453 of file cl.hpp.

## getInfo() [2/3]

template<typename Func , typename Arg0 , typename T >

cl_int cl::detail::getInfo | ( | Func | f,
|  | const Arg0 & | arg0,
|  | cl_uint | name,
|  | T * | param
| ) |  |

inline

Definition at line 1478 of file cl.hpp.

## getInfo() [3/3]

template<typename Func , typename Arg0 , typename Arg1 , typename T >

cl_int cl::detail::getInfo | ( | Func | f,
|  | const Arg0 & | arg0,
|  | const Arg1 & | arg1,
|  | cl_uint | name,
|  | T * | param
| ) |  |

inline

Definition at line 1486 of file cl.hpp.

## getInfoHelper() [1/7]

template<typename Func , ::size_t N>

cl_int cl::detail::getInfoHelper | ( | Func | f,
|  | cl_uint | name,
|  | size_t< N > * | param,
|  | long |
| ) |  |

inline

Definition at line 1135 of file cl.hpp.

## getInfoHelper() [2/7]

template<typename Func >

cl_int cl::detail::getInfoHelper | ( | Func | f,
|  | cl_uint | name,
|  | STRING_CLASS * | param,
|  | long |
| ) |  |

inline

Definition at line 1112 of file cl.hpp.

## getInfoHelper() [3/7]

template<typename Func , typename T >

cl_int cl::detail::getInfoHelper | ( | Func | f,
|  | cl_uint | name,
|  | T * | param,
|  | int | ,
|  | typename T::cl_type | = `0`
| ) |  |

inline

Definition at line 1165 of file cl.hpp.

## getInfoHelper() [4/7]

template<typename Func >

cl_int cl::detail::getInfoHelper | ( | Func | f,
|  | cl_uint | name,
|  | VECTOR_CLASS< char * > * | param,
|  | int |
| ) |  |

inline

Definition at line 1099 of file cl.hpp.

## getInfoHelper() [5/7]

template<typename Func , typename T >

cl_int cl::detail::getInfoHelper | ( | Func | f,
|  | cl_uint | name,
|  | VECTOR_CLASS< T > * | param,
|  | int | ,
|  | typename T::cl_type | = `0`
| ) |  |

inline

Definition at line 1068 of file cl.hpp.

## getInfoHelper() [6/7]

template<typename Func , typename T >

cl_int cl::detail::getInfoHelper | ( | Func | f,
|  | cl_uint | name,
|  | VECTOR_CLASS< T > * | param,
|  | long |
| ) |  |

inline

Definition at line 1043 of file cl.hpp.

## getInfoHelper() [7/7]

template<typename Functor , typename T >

cl_int cl::detail::getInfoHelper | ( | Functor | f,
|  | cl_uint | name,
|  | T * | param,
|  | long |
| ) |  |

inline

Definition at line 1036 of file cl.hpp.