OpenPose
1.0.0rc2
OpenPose: A Real-Time Multi-Person Key-Point Detection And Multi-Threading C++ Library
|
#include <cl2.hpp>
Public Types | |
typedef Event | result_type |
Return type of the functor. More... | |
Public Member Functions | |
KernelFunctor (Kernel kernel) | |
KernelFunctor (const Program &program, const string name, cl_int *err=NULL) | |
Event | operator() (const EnqueueArgs &args, Ts...ts) |
Event | operator() (const EnqueueArgs &args, Ts...ts, cl_int &error) |
cl_int | setSVMPointers (const vector< void * > &pointerList) |
template<typename T0 , typename... T1s> | |
cl_int | setSVMPointers (const T0 &t0, T1s...ts) |
Kernel | getKernel () |
Type safe kernel functor.
typedef Event cl::KernelFunctor< Ts >::result_type |
Return type of the functor.
|
inline |
|
inline |
|
inline |
|
inline |
Enqueue kernel.
args | Launch parameters of the kernel. |
t0... | List of kernel arguments based on the template type of the functor. |
|
inline |
Enqueue kernel with support for error code.
args | Launch parameters of the kernel. |
t0... | List of kernel arguments based on the template type of the functor. |
error | Out parameter returning the error code from the execution. |
|
inline |
|
inline |