Logo
OpenCV  3.0.0
Open Source Computer Vision
Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
cv::ocl::Context Class Reference
OpenCL support

#include "ocl.hpp"

Public Member Functions

  Context ()
 
  Context (int dtype)
 
  Context (const Context &c)
 
  ~Context ()
 
bool  create ()
 
bool  create (int dtype)
 
const Devicedevice (size_t idx) const
 
Program  getProg (const ProgramSource &prog, const String &buildopt, String &errmsg)
 
size_t  ndevices () const
 
Contextoperator= (const Context &c)
 
void *  ptr () const
 
void  setUseSVM (bool enabled)
 
bool  useSVM () const
 

Static Public Member Functions

static ContextgetDefault (bool initialize=true)
 

Public Attributes

Impl *  p
 

Friends

void  initializeContextFromHandle (Context &ctx, void *platform, void *context, void *device)
 

Constructor & Destructor Documentation

cv::ocl::Context::Context ( )
cv::ocl::Context::Context ( int  dtype )
explicit
cv::ocl::Context::~Context ( )
cv::ocl::Context::Context ( const Contextc )

Member Function Documentation

bool cv::ocl::Context::create ( )
bool cv::ocl::Context::create ( int  dtype )
const Device& cv::ocl::Context::device ( size_t  idx ) const
static Context& cv::ocl::Context::getDefault ( bool  initialize = true )
static
Program cv::ocl::Context::getProg ( const ProgramSourceprog,
const Stringbuildopt,
Stringerrmsg 
)
size_t cv::ocl::Context::ndevices ( ) const
Context& cv::ocl::Context::operator= ( const Contextc )
void* cv::ocl::Context::ptr ( ) const
void cv::ocl::Context::setUseSVM ( bool  enabled )
bool cv::ocl::Context::useSVM ( ) const

Friends And Related Function Documentation

void initializeContextFromHandle ( Contextctx,
void *  platform,
void *  context,
void *  device 
)
friend

Member Data Documentation

Impl* cv::ocl::Context::p

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

Generated on Wed Jun 3 2015 21:57:29 for OpenCV by   doxygen 1.8.7

AltStyle によって変換されたページ (->オリジナル) /