vSMC
v3.0.0
Scalable Monte Carlo
|
OpenCL resource management base class. More...
#include <vsmc/utility/opencl.hpp>
Public Types | |
using | element_type = typename std::remove_pointer< CLPtr >::type |
using | pointer = CLPtr |
Public Member Functions | |
CLBase () | |
pointer | get () const |
operator bool () const | |
void | reset (pointer ptr) |
void | swap (CLBase< CLPtr, Derived > &other) |
bool | unique () const |
long | use_count () const |
Protected Member Functions | |
void | reset_ptr (pointer ptr) |
OpenCL resource management base class.
Definition at line 189 of file opencl.hpp.
using vsmc::CLBase< CLPtr, Derived >::element_type = typename std::remove_pointer<CLPtr>::type |
Definition at line 193 of file opencl.hpp.
using vsmc::CLBase< CLPtr, Derived >::pointer = CLPtr |
Definition at line 192 of file opencl.hpp.
|
inline |
Definition at line 195 of file opencl.hpp.
|
inline |
Definition at line 205 of file opencl.hpp.
|
inlineexplicit |
Definition at line 211 of file opencl.hpp.
|
inline |
Definition at line 197 of file opencl.hpp.
|
inlineprotected |
Definition at line 214 of file opencl.hpp.
|
inline |
Definition at line 203 of file opencl.hpp.
|
inline |
Definition at line 209 of file opencl.hpp.
|
inline |
Definition at line 207 of file opencl.hpp.