Kernel class.
More...
#include <CLCompileContext.h>
Kernel class.
Definition at line 162 of file CLCompileContext.h.
◆ Kernel() [1/4]
◆ Kernel() [2/4]
Default Copy Constructor.
◆ Kernel() [3/4]
Default Move Constructor.
◆ Kernel() [4/4]
Kernel |
( |
std::string |
name, |
|
|
const cl::Program & |
program |
|
) |
| |
Constructor.
- Parameters
-
[in] | name | Kernel name. |
[in] | program | Built program. |
Definition at line 141 of file CLCompileContext.cpp.
142 : _name(std::move(
name)),
143 _kernel(cl::Kernel(program, _name.c_str()))
std::string name() const
Returns kernel name.
◆ name()
std::string name |
( |
| ) |
const |
|
inline |
◆ operator cl::Kernel()
operator cl::Kernel |
( |
| ) |
const |
|
inlineexplicit |
◆ operator=() [1/2]
Default copy assignment operator.
◆ operator=() [2/2]
Default move assignment operator.
The documentation for this class was generated from the following files: