#include <ocl.hpp>
Public Member Functions | |
Program () CV_NOEXCEPT | |
Program (const ProgramSource &src, const String &buildflags, String &errmsg) | |
Program (const Program &prog) | |
Program & | operator= (const Program &prog) |
Program (Program &&prog) CV_NOEXCEPT | |
Program & | operator= (Program &&prog) CV_NOEXCEPT |
~Program () | |
bool | create (const ProgramSource &src, const String &buildflags, String &errmsg) |
void * | ptr () const |
void | getBinary (std::vector< char > &binary) const |
Query device-specific program binary. More... | |
Impl * | getImpl () const |
bool | empty () const |
CV_DEPRECATED bool | read (const String &buf, const String &buildflags) |
CV_DEPRECATED bool | write (String &buf) const |
CV_DEPRECATED const ProgramSource & | source () const |
CV_DEPRECATED String | getPrefix () const |
Static Public Member Functions | |
static CV_DEPRECATED String | getPrefix (const String &buildflags) |
Protected Attributes | |
Impl * | p |
Friends | |
struct | Impl |
cv::ocl::Program::Program | ( | ) |
cv::ocl::Program::Program | ( | const ProgramSource & | src, |
const String & | buildflags, | ||
String & | errmsg | ||
) |
cv::ocl::Program::Program | ( | const Program & | prog | ) |
cv::ocl::Program::Program | ( | Program && | prog | ) |
cv::ocl::Program::~Program | ( | ) |
bool cv::ocl::Program::create | ( | const ProgramSource & | src, |
const String & | buildflags, | ||
String & | errmsg | ||
) |
|
inline |
void cv::ocl::Program::getBinary | ( | std::vector< char > & | binary | ) | const |
Query device-specific program binary.
Returns RAW OpenCL executable binary without additional attachments.
[out] | binary | output buffer |
|
inline |
CV_DEPRECATED String cv::ocl::Program::getPrefix | ( | ) | const |
|
static |
void* cv::ocl::Program::ptr | ( | ) | const |
CV_DEPRECATED bool cv::ocl::Program::read | ( | const String & | buf, |
const String & | buildflags | ||
) |
CV_DEPRECATED const ProgramSource& cv::ocl::Program::source | ( | ) | const |
CV_DEPRECATED bool cv::ocl::Program::write | ( | String & | buf | ) | const |
|
friend |
|
protected |