|
| Kernel (const char *kname, const Program &prog) |
|
| Kernel (const char *kname, const ProgramSource &prog, const String &buildopts=String(), String *errmsg=0) |
|
| Kernel (const Kernel &k) |
|
Kernel & | operator= (const Kernel &k) |
|
| Kernel (Kernel &&k) CV_NOEXCEPT |
|
Kernel & | operator= (Kernel &&k) CV_NOEXCEPT |
|
bool | empty () const |
|
bool | create (const char *kname, const Program &prog) |
|
bool | create (const char *kname, const ProgramSource &prog, const String &buildopts, String *errmsg=0) |
|
int | set (int i, const void *value, size_t sz) |
|
int | set (int i, const Image2D &image2D) |
|
int | set (int i, const UMat &m) |
|
int | set (int i, const KernelArg &arg) |
|
template<typename _Tp > |
int | set (int i, const _Tp &value) |
|
template<typename... _Tps> |
Kernel & | args (const _Tps &... kernel_args) |
| Setup OpenCL Kernel arguments. Avoid direct using of set(i, ...) methods. [詳解]
|
|
bool | run (int dims, size_t globalsize[], size_t localsize[], bool sync, const Queue &q=Queue()) |
| Run the OpenCL kernel. [詳解]
|
|
bool | runTask (bool sync, const Queue &q=Queue()) |
|
int64 | runProfiling (int dims, size_t globalsize[], size_t localsize[], const Queue &q=Queue()) |
| Similar to synchronized run() call with returning of kernel execution time Separate OpenCL command queue may be used (with CL_QUEUE_PROFILING_ENABLE) [詳解]
|
|
size_t | workGroupSize () const |
|
size_t | preferedWorkGroupSizeMultiple () const |
|
bool | compileWorkGroupSize (size_t wsz[]) const |
|
size_t | localMemSize () const |
|
void * | ptr () const |
|