ASL 0.1.7
Advanced Simulation Library
Loading...
Searching...
No Matches
cl::detail::Wrapper< cl_device_id > Class Reference

#include <cl.hpp>

Inheritance diagram for cl::detail::Wrapper< cl_device_id >:
Collaboration diagram for cl::detail::Wrapper< cl_device_id >:

Public Types

typedef cl_device_id cl_type
typedef cl_device_id cl_type

Public Member Functions

 Wrapper ()
 Wrapper (const cl_type &obj)
 ~Wrapper ()
 Wrapper (const Wrapper< cl_type > &rhs)
Wrapper< cl_type > & operator= (const Wrapper< cl_type > &rhs)
Wrapper< cl_type > & operator= (const cl_type &rhs)
cl_type operator() () const
cl_typeoperator() ()
 Wrapper ()
 Wrapper (const cl_type &obj)
 ~Wrapper ()
 Wrapper (const Wrapper< cl_type > &rhs)
Wrapper< cl_type > & operator= (const Wrapper< cl_type > &rhs)
Wrapper< cl_type > & operator= (const cl_type &rhs)
cl_type operator() () const
cl_typeoperator() ()

Protected Member Functions

cl_int retain () const
cl_int release () const
cl_int retain () const
cl_int release () const

Static Protected Member Functions

static bool isReferenceCountable (cl_device_id device)
static bool isReferenceCountable (cl_device_id device)

Protected Attributes

cl_type object_
bool referenceCountable_

Friends

template<typename Func, typename U>
cl_int getInfoHelper (Func, cl_uint, U *, int, typename U::cl_type)
template<typename Func, typename U>
cl_int getInfoHelper (Func, cl_uint, VECTOR_CLASS< U > *, int, typename U::cl_type)
template<typename Func, typename U>
cl_int getInfoHelper (Func, cl_uint, U *, int, typename U::cl_type)
template<typename Func, typename U>
cl_int getInfoHelper (Func, cl_uint, VECTOR_CLASS< U > *, int, typename U::cl_type)

Detailed Description

Definition at line 1750 of file cl.hpp.

Member Typedef Documentation

◆ cl_type [1/2]

typedef cl_device_id cl::detail::Wrapper< cl_device_id >::cl_type

Definition at line 1753 of file cl.hpp.

◆ cl_type [2/2]

typedef cl_device_id cl::detail::Wrapper< cl_device_id >::cl_type

Definition at line 1753 of file cl.hpp.

Constructor & Destructor Documentation

◆ Wrapper() [1/6]

cl::detail::Wrapper< cl_device_id >::Wrapper ( )
inline

Definition at line 1772 of file cl.hpp.

◆ Wrapper() [2/6]

cl::detail::Wrapper< cl_device_id >::Wrapper ( const cl_type & obj)
inline

Definition at line 1776 of file cl.hpp.

◆ ~Wrapper() [1/2]

cl::detail::Wrapper< cl_device_id >::~Wrapper ( )
inline

Definition at line 1781 of file cl.hpp.

◆ Wrapper() [3/6]

cl::detail::Wrapper< cl_device_id >::Wrapper ( const Wrapper< cl_type > & rhs)
inline

Definition at line 1786 of file cl.hpp.

◆ Wrapper() [4/6]

cl::detail::Wrapper< cl_device_id >::Wrapper ( )
inline

Definition at line 1772 of file cl.hpp.

◆ Wrapper() [5/6]

cl::detail::Wrapper< cl_device_id >::Wrapper ( const cl_type & obj)
inline

Definition at line 1776 of file cl.hpp.

◆ ~Wrapper() [2/2]

cl::detail::Wrapper< cl_device_id >::~Wrapper ( )
inline

Definition at line 1781 of file cl.hpp.

◆ Wrapper() [6/6]

cl::detail::Wrapper< cl_device_id >::Wrapper ( const Wrapper< cl_type > & rhs)
inline

Definition at line 1786 of file cl.hpp.

Member Function Documentation

◆ isReferenceCountable() [1/2]

bool cl::detail::Wrapper< cl_device_id >::isReferenceCountable ( cl_device_id device)
inlinestaticprotected

Definition at line 1759 of file cl.hpp.

◆ isReferenceCountable() [2/2]

bool cl::detail::Wrapper< cl_device_id >::isReferenceCountable ( cl_device_id device)
inlinestaticprotected

Definition at line 1759 of file cl.hpp.

◆ operator()() [1/4]

cl_type & cl::detail::Wrapper< cl_device_id >::operator() ( )
inline

Definition at line 1838 of file cl.hpp.

◆ operator()() [2/4]

cl_type & cl::detail::Wrapper< cl_device_id >::operator() ( )
inline

Definition at line 1838 of file cl.hpp.

◆ operator()() [3/4]

cl_type cl::detail::Wrapper< cl_device_id >::operator() ( ) const
inline

Definition at line 1836 of file cl.hpp.

◆ operator()() [4/4]

cl_type cl::detail::Wrapper< cl_device_id >::operator() ( ) const
inline

Definition at line 1836 of file cl.hpp.

◆ operator=() [1/4]

Wrapper< cl_type > & cl::detail::Wrapper< cl_device_id >::operator= ( const cl_type & rhs)
inline

Definition at line 1828 of file cl.hpp.

◆ operator=() [2/4]

Wrapper< cl_type > & cl::detail::Wrapper< cl_device_id >::operator= ( const cl_type & rhs)
inline

Definition at line 1828 of file cl.hpp.

◆ operator=() [3/4]

Wrapper< cl_type > & cl::detail::Wrapper< cl_device_id >::operator= ( const Wrapper< cl_type > & rhs)
inline

Definition at line 1803 of file cl.hpp.

◆ operator=() [4/4]

Wrapper< cl_type > & cl::detail::Wrapper< cl_device_id >::operator= ( const Wrapper< cl_type > & rhs)
inline

Definition at line 1803 of file cl.hpp.

◆ release() [1/2]

cl_int cl::detail::Wrapper< cl_device_id >::release ( ) const
inlineprotected

Definition at line 1857 of file cl.hpp.

◆ release() [2/2]

cl_int cl::detail::Wrapper< cl_device_id >::release ( ) const
inlineprotected

Definition at line 1857 of file cl.hpp.

◆ retain() [1/2]

cl_int cl::detail::Wrapper< cl_device_id >::retain ( ) const
inlineprotected

Definition at line 1847 of file cl.hpp.

◆ retain() [2/2]

cl_int cl::detail::Wrapper< cl_device_id >::retain ( ) const
inlineprotected

Definition at line 1847 of file cl.hpp.

◆ getInfoHelper [1/4]

template<typename Func, typename U>
cl_int getInfoHelper ( Func ,
cl_uint ,
U * ,
int ,
typename U::cl_type  )
friend

◆ getInfoHelper [2/4]

template<typename Func, typename U>
cl_int getInfoHelper ( Func ,
cl_uint ,
U * ,
int ,
typename U::cl_type  )
friend

◆ getInfoHelper [3/4]

template<typename Func, typename U>
cl_int getInfoHelper ( Func ,
cl_uint ,
VECTOR_CLASS< U > * ,
int ,
typename U::cl_type  )
friend

◆ getInfoHelper [4/4]

template<typename Func, typename U>
cl_int getInfoHelper ( Func ,
cl_uint ,
VECTOR_CLASS< U > * ,
int ,
typename U::cl_type  )
friend

Member Data Documentation

◆ object_

cl_type cl::detail::Wrapper< cl_device_id >::object_
protected

Definition at line 1756 of file cl.hpp.

◆ referenceCountable_

bool cl::detail::Wrapper< cl_device_id >::referenceCountable_
protected

Definition at line 1757 of file cl.hpp.


The documentation for this class was generated from the following files: