|
| Context (int dtype) |
|
| Context (const Context &c) |
|
Context & | operator= (const Context &c) |
|
| Context (Context &&c) CV_NOEXCEPT |
|
Context & | operator= (Context &&c) CV_NOEXCEPT |
|
bool | create () |
|
bool | create (int dtype) |
|
size_t | ndevices () const |
|
Device & | device (size_t idx) const |
|
Program | getProg (const ProgramSource &prog, const String &buildopt, String &errmsg) |
|
void | unloadProg (Program &prog) |
|
void * | ptr () const |
|
void * | getOpenCLContextProperty (int propertyId) const |
| Get OpenCL context property specified on context creation [詳解]
|
|
bool | useSVM () const |
|
void | setUseSVM (bool enabled) |
|
void | release () |
|
template<typename T > |
void | setUserContext (const std::shared_ptr< T > &userContext) |
|
template<typename T > |
std::shared_ptr< T > | getUserContext () |
|
void | setUserContext (std::type_index typeId, const std::shared_ptr< UserContext > &userContext) |
|
std::shared_ptr< UserContext > | getUserContext (std::type_index typeId) |
|
Impl * | getImpl () const |
|
bool | empty () const |
|