|
|
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) |
|
OpenCL のセットアップKernel引数を使用します。set(i, ...)メソッドの直接使用は避けてください。[【詳解】(英語]
|
|
bool |
run
(int dims, size_t globalsize[], size_t localsize[], bool sync, const
Queue
&q=Queue()) |
|
OpenCLカーネルを実行する。[【詳解】(英語]
|
|
bool |
runTask
(bool sync, const
Queue
&q=Queue()) |
|
int64 |
runProfiling
(int dims, size_t globalsize[], size_t localsize[], const
Queue
&q=Queue()) |
|
同期呼び出しと同様にrun()呼び出しと同様に、カーネルの実行時間を返します 別のOpenCLコマンド・キューを使用することもできます(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 |
|