|
ViennaCL - The Vienna Computing Library
1.1.2
|
Handle class the effectively represents a smart pointer for OpenCL handles. More...
#include <handle.hpp>
Public Member Functions | |
| handle () | |
| handle (const OCL_TYPE &_something) | |
| handle (const handle &h) | |
| ~handle () | |
| handle & | operator= (const handle &h) |
| handle & | operator= (const OCL_TYPE &_something) |
| operator OCL_TYPE () const | |
| handle & | swap (handle &other) |
| Swaps the OpenCL handle of two handle objects. | |
| void | inc () |
| Manually increment the OpenCL reference count. Typically called automatically, but is necessary if user-supplied memory objects are wrapped. | |
| void | dec () |
| Manually decrement the OpenCL reference count. Typically called automatically, but might be useful with user-supplied memory objects. | |
Handle class the effectively represents a smart pointer for OpenCL handles.
| handle | ( | ) | [inline] |
| handle | ( | const OCL_TYPE & | _something | ) | [inline] |
| ~handle | ( | ) | [inline] |
| void dec | ( | ) | [inline] |
Manually decrement the OpenCL reference count. Typically called automatically, but might be useful with user-supplied memory objects.
| void inc | ( | ) | [inline] |
Manually increment the OpenCL reference count. Typically called automatically, but is necessary if user-supplied memory objects are wrapped.
| operator OCL_TYPE | ( | ) | const [inline] |
| handle& operator= | ( | const OCL_TYPE & | _something | ) | [inline] |
1.7.6.1