Loading...
Searching...
No Matches
Public Member Functions |
Static Public Member Functions |
Protected Attributes |
Friends |
List of all members
cv::ocl::Program Class Reference
#include <opencv2/core/ocl.hpp>
Public Member Functions | |
Program () CV_NOEXCEPT | |
Program (const Program &prog) | |
Program (const ProgramSource &src, const String &buildflags, String &errmsg) | |
Program (Program &&prog) CV_NOEXCEPT | |
~Program () | |
bool | create (const ProgramSource &src, const String &buildflags, String &errmsg) |
bool | empty () const |
void | getBinary (std::vector< char > &binary) const |
Query device-specific program binary. | |
Impl * | getImpl () const |
String | getPrefix () const |
Program & | operator= (const Program &prog) |
Program & | operator= (Program &&prog) CV_NOEXCEPT |
void * | ptr () const |
bool | read (const String &buf, const String &buildflags) |
const ProgramSource & | source () const |
bool | write (String &buf) const |
Static Public Member Functions | |
static String | getPrefix (const String &buildflags) |
Protected Attributes | |
Impl * | p |
Friends | |
struct | Impl |
Constructor & Destructor Documentation
◆ Program() [1/4]
cv::ocl::Program::Program | ( | ) |
◆ Program() [2/4]
cv::ocl::Program::Program | ( | const ProgramSource & | src, |
const String & | buildflags, | ||
String & | errmsg | ||
) |
◆ Program() [3/4]
cv::ocl::Program::Program | ( | const Program & | prog | ) |
◆ Program() [4/4]
cv::ocl::Program::Program | ( | Program && | prog | ) |
◆ ~Program()
cv::ocl::Program::~Program | ( | ) |
Member Function Documentation
◆ create()
bool cv::ocl::Program::create | ( | const ProgramSource & | src, |
const String & | buildflags, | ||
String & | errmsg | ||
) |
◆ empty()
|
inline |
◆ getBinary()
void cv::ocl::Program::getBinary | ( | std::vector< char > & | binary | ) | const |
Query device-specific program binary.
Returns RAW OpenCL executable binary without additional attachments.
- See also
- ProgramSource::fromBinary
- Parameters
-
[out] binary output buffer
◆ getImpl()
|
inline |
◆ getPrefix() [1/2]
String cv::ocl::Program::getPrefix | ( | ) | const |
◆ getPrefix() [2/2]
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ ptr()
void * cv::ocl::Program::ptr | ( | ) | const |
◆ read()
◆ source()
const ProgramSource & cv::ocl::Program::source | ( | ) | const |
◆ write()
bool cv::ocl::Program::write | ( | String & | buf | ) | const |
Friends And Related Function Documentation
◆ Impl
|
friend |
Member Data Documentation
◆ p
|
protected |
The documentation for this class was generated from the following file:
- opencv2/core/ocl.hpp