#include <opencv2/core/ocl.hpp>
◆ Context() [1/3]
cv::ocl::Context::Context |
( |
| ) |
|
◆ Context() [2/3]
cv::ocl::Context::Context |
( |
int |
dtype | ) |
|
|
explicit |
◆ ~Context()
cv::ocl::Context::~Context |
( |
| ) |
|
◆ Context() [3/3]
cv::ocl::Context::Context |
( |
const Context & |
c | ) |
|
◆ create() [1/3]
bool cv::ocl::Context::create |
( |
| ) |
|
◆ create() [2/3]
bool cv::ocl::Context::create |
( |
int |
dtype | ) |
|
◆ create() [3/3]
static Context cv::ocl::Context::create |
( |
const std::string & |
configuration | ) |
|
|
static |
◆ device()
Device& cv::ocl::Context::device |
( |
size_t |
idx | ) |
const |
◆ empty()
bool cv::ocl::Context::empty |
( |
| ) |
const |
|
inline |
◆ fromDevice()
◆ fromHandle()
static Context cv::ocl::Context::fromHandle |
( |
void * |
context | ) |
|
|
static |
- Parameters
-
context | OpenCL handle (cl_context). clRetainContext() is called on success |
◆ getDefault()
static Context& cv::ocl::Context::getDefault |
( |
bool |
initialize = true | ) |
|
|
static |
Get thread-local OpenCL context (initialize if necessary)
◆ getImpl()
Impl* cv::ocl::Context::getImpl |
( |
| ) |
const |
|
inline |
◆ getProg()
◆ ndevices()
size_t cv::ocl::Context::ndevices |
( |
| ) |
const |
◆ operator=()
◆ ptr()
void* cv::ocl::Context::ptr |
( |
| ) |
const |
◆ release()
void cv::ocl::Context::release |
( |
| ) |
|
◆ setUseSVM()
void cv::ocl::Context::setUseSVM |
( |
bool |
enabled | ) |
|
◆ unloadProg()
void cv::ocl::Context::unloadProg |
( |
Program & |
prog | ) |
|
◆ useSVM()
bool cv::ocl::Context::useSVM |
( |
| ) |
const |
Impl* cv::ocl::Context::p |
The documentation for this class was generated from the following file: