OpenCV  4.1.0
Open Source Computer Vision
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 ()
 
 Program (const ProgramSource &src, const String &buildflags, String &errmsg)
 
 Program (const Program &prog)
 
 ~Program ()
 
bool create (const ProgramSource &src, const String &buildflags, String &errmsg)
 
void getBinary (std::vector< char > &binary) const
 Query device-specific program binary.
 
ImplgetImpl () const
 
String getPrefix () const
 
Programoperator= (const Program &prog)
 
void * ptr () const
 
bool read (const String &buf, const String &buildflags)
 
const ProgramSourcesource () const
 
bool write (String &buf) const
 

Static Public Member Functions

static String getPrefix (const String &buildflags)
 

Protected Attributes

Implp
 

Friends

struct Impl
 

Constructor & Destructor Documentation

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 ( )

Member Function Documentation

bool cv::ocl::Program::create ( const ProgramSource src,
const String buildflags,
String errmsg 
)
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]binaryoutput buffer
Impl* cv::ocl::Program::getImpl ( ) const
inline
String cv::ocl::Program::getPrefix ( ) const
static String cv::ocl::Program::getPrefix ( const String buildflags)
static
Program& cv::ocl::Program::operator= ( const Program prog)
void* cv::ocl::Program::ptr ( ) const
bool cv::ocl::Program::read ( const String buf,
const String buildflags 
)
const ProgramSource& cv::ocl::Program::source ( ) const
bool cv::ocl::Program::write ( String buf) const

Friends And Related Function Documentation

friend struct Impl
friend

Member Data Documentation

Impl* cv::ocl::Program::p
protected

The documentation for this class was generated from the following file: