Class cv::ocl::Device#
#include <opencv2/core/ocl.hpp>Collaboration diagram for cv::ocl::Device:
Public Types#
enum cv::ocl::Device {
cv::ocl::TYPE_DEFAULT = (1 << 0),
cv::ocl::TYPE_CPU = (1 << 1),
cv::ocl::TYPE_GPU = (1 << 2),
cv::ocl::TYPE_ACCELERATOR = (1 << 3),
cv::ocl::TYPE_DGPU = TYPE_GPU + (1 << 16),
cv::ocl::TYPE_IGPU = TYPE_GPU + (1 << 17),
cv::ocl::TYPE_ALL = 0xFFFFFFFF
}
enum cv::ocl::Device {
cv::ocl::FP_DENORM =(1 << 0),
cv::ocl::FP_INF_NAN =(1 << 1),
cv::ocl::FP_ROUND_TO_NEAREST =(1 << 2),
cv::ocl::FP_ROUND_TO_ZERO =(1 << 3),
cv::ocl::FP_ROUND_TO_INF =(1 << 4),
cv::ocl::FP_FMA =(1 << 5),
cv::ocl::FP_SOFT_FLOAT =(1 << 6),
cv::ocl::FP_CORRECTLY_ROUNDED_DIVIDE_SQRT =(1 << 7)
}
enum cv::ocl::Device {
cv::ocl::EXEC_KERNEL =(1 << 0),
cv::ocl::EXEC_NATIVE_KERNEL =(1 << 1)
}
enum cv::ocl::Device {
cv::ocl::NO_CACHE =0,
cv::ocl::READ_ONLY_CACHE =1,
cv::ocl::READ_WRITE_CACHE =2
}
enum cv::ocl::Device {
cv::ocl::NO_LOCAL_MEM =0,
cv::ocl::LOCAL_IS_LOCAL =1,
cv::ocl::LOCAL_IS_GLOBAL =2
}
enum cv::ocl::Device {
cv::ocl::UNKNOWN_VENDOR =0,
cv::ocl::VENDOR_AMD =1,
cv::ocl::VENDOR_INTEL =2,
cv::ocl::VENDOR_NVIDIA =3
}Member Enumeration Documentation#
enum Device
|
|
|
|
|
|
|
enum Device
|
|
|
|
|
|
|
|
enum Device
|
|
enum Device
|
|
|
enum Device
|
|
|
enum Device
|
|
|
|
Constructor & Destructor Documentation#
Device()#
Python:
Device()#
cv::ocl::Device::Device(const Device & d)
Python:
Device()#
cv::ocl::Device::Device(Device && d)
Python:
Device()#
cv::ocl::Device::Device(void * d)
Python:
~Device()#
Member Function Documentation#
addressBits()#
int cv::ocl::Device::addressBits()
Python:
cv.ocl.Device.addressBits() -> retval
available()#
bool cv::ocl::Device::available()
Python:
cv.ocl.Device.available() -> retval
compilerAvailable()#
bool cv::ocl::Device::compilerAvailable()
Python:
cv.ocl.Device.compilerAvailable() -> retval
deviceVersionMajor()#
int cv::ocl::Device::deviceVersionMajor()
Python:
cv.ocl.Device.deviceVersionMajor() -> retval
deviceVersionMinor()#
int cv::ocl::Device::deviceVersionMinor()
Python:
cv.ocl.Device.deviceVersionMinor() -> retval
doubleFPConfig()#
int cv::ocl::Device::doubleFPConfig()
Python:
cv.ocl.Device.doubleFPConfig() -> retval
driverVersion()#
String cv::ocl::Device::driverVersion()
Python:
cv.ocl.Device.driverVersion() -> retval
empty()#
bool cv::ocl::Device::empty()
endianLittle()#
bool cv::ocl::Device::endianLittle()
Python:
cv.ocl.Device.endianLittle() -> retval
errorCorrectionSupport()#
bool cv::ocl::Device::errorCorrectionSupport()
Python:
cv.ocl.Device.errorCorrectionSupport() -> retval
executionCapabilities()#
int cv::ocl::Device::executionCapabilities()
Python:
cv.ocl.Device.executionCapabilities() -> retval
extensions()#
String cv::ocl::Device::extensions()
Python:
cv.ocl.Device.extensions() -> retval
getImpl()#
globalMemCacheLineSize()#
int cv::ocl::Device::globalMemCacheLineSize()
Python:
cv.ocl.Device.globalMemCacheLineSize() -> retval
globalMemCacheSize()#
size_t cv::ocl::Device::globalMemCacheSize()
Python:
cv.ocl.Device.globalMemCacheSize() -> retval
globalMemCacheType()#
int cv::ocl::Device::globalMemCacheType()
Python:
cv.ocl.Device.globalMemCacheType() -> retval
globalMemSize()#
size_t cv::ocl::Device::globalMemSize()
Python:
cv.ocl.Device.globalMemSize() -> retval
halfFPConfig()#
int cv::ocl::Device::halfFPConfig()
Python:
cv.ocl.Device.halfFPConfig() -> retval
hasFP16()#
bool cv::ocl::Device::hasFP16()
Python:
cv.ocl.Device.hasFP16() -> retval
true if ‘cl_khr_fp16’ extension is available
hasFP64()#
bool cv::ocl::Device::hasFP64()
Python:
cv.ocl.Device.hasFP64() -> retval
true if ‘cl_khr_fp64’ extension is available
hostUnifiedMemory()#
bool cv::ocl::Device::hostUnifiedMemory()
Python:
cv.ocl.Device.hostUnifiedMemory() -> retval
image2DMaxHeight()#
size_t cv::ocl::Device::image2DMaxHeight()
Python:
cv.ocl.Device.image2DMaxHeight() -> retval
image2DMaxWidth()#
size_t cv::ocl::Device::image2DMaxWidth()
Python:
cv.ocl.Device.image2DMaxWidth() -> retval
image3DMaxDepth()#
size_t cv::ocl::Device::image3DMaxDepth()
Python:
cv.ocl.Device.image3DMaxDepth() -> retval
image3DMaxHeight()#
size_t cv::ocl::Device::image3DMaxHeight()
Python:
cv.ocl.Device.image3DMaxHeight() -> retval
image3DMaxWidth()#
size_t cv::ocl::Device::image3DMaxWidth()
Python:
cv.ocl.Device.image3DMaxWidth() -> retval
imageBaseAddressAlignment()#
imageFromBufferSupport()#
bool cv::ocl::Device::imageFromBufferSupport()
Python:
cv.ocl.Device.imageFromBufferSupport() -> retval
imageMaxArraySize()#
size_t cv::ocl::Device::imageMaxArraySize()
Python:
cv.ocl.Device.imageMaxArraySize() -> retval
imageMaxBufferSize()#
size_t cv::ocl::Device::imageMaxBufferSize()
Python:
cv.ocl.Device.imageMaxBufferSize() -> retval
imagePitchAlignment()#
imageSupport()#
bool cv::ocl::Device::imageSupport()
Python:
cv.ocl.Device.imageSupport() -> retval
intelSubgroupsSupport()#
bool cv::ocl::Device::intelSubgroupsSupport()
Python:
cv.ocl.Device.intelSubgroupsSupport() -> retval
deprecated, use isExtensionSupported() method (probably with “cl_khr_subgroups” value)
isAMD()#
bool cv::ocl::Device::isAMD()
Python:
cv.ocl.Device.isAMD() -> retval
isExtensionSupported()#
bool cv::ocl::Device::isExtensionSupported(const String & extensionName)
Python:
cv.ocl.Device.isExtensionSupported(extensionName) -> retval
isIntel()#
bool cv::ocl::Device::isIntel()
Python:
cv.ocl.Device.isIntel() -> retval
isNVidia()#
bool cv::ocl::Device::isNVidia()
Python:
cv.ocl.Device.isNVidia() -> retval
linkerAvailable()#
bool cv::ocl::Device::linkerAvailable()
Python:
cv.ocl.Device.linkerAvailable() -> retval
localMemSize()#
size_t cv::ocl::Device::localMemSize()
Python:
cv.ocl.Device.localMemSize() -> retval
localMemType()#
int cv::ocl::Device::localMemType()
Python:
cv.ocl.Device.localMemType() -> retval
maxClockFrequency()#
int cv::ocl::Device::maxClockFrequency()
Python:
cv.ocl.Device.maxClockFrequency() -> retval
maxComputeUnits()#
int cv::ocl::Device::maxComputeUnits()
Python:
cv.ocl.Device.maxComputeUnits() -> retval
maxConstantArgs()#
int cv::ocl::Device::maxConstantArgs()
Python:
cv.ocl.Device.maxConstantArgs() -> retval
maxConstantBufferSize()#
size_t cv::ocl::Device::maxConstantBufferSize()
Python:
cv.ocl.Device.maxConstantBufferSize() -> retval
maxMemAllocSize()#
size_t cv::ocl::Device::maxMemAllocSize()
Python:
cv.ocl.Device.maxMemAllocSize() -> retval
maxParameterSize()#
size_t cv::ocl::Device::maxParameterSize()
Python:
cv.ocl.Device.maxParameterSize() -> retval
maxReadImageArgs()#
int cv::ocl::Device::maxReadImageArgs()
Python:
cv.ocl.Device.maxReadImageArgs() -> retval
maxSamplers()#
int cv::ocl::Device::maxSamplers()
Python:
cv.ocl.Device.maxSamplers() -> retval
maxWorkGroupSize()#
size_t cv::ocl::Device::maxWorkGroupSize()
Python:
cv.ocl.Device.maxWorkGroupSize() -> retval
maxWorkItemDims()#
int cv::ocl::Device::maxWorkItemDims()
Python:
cv.ocl.Device.maxWorkItemDims() -> retval
maxWorkItemSizes()#
void cv::ocl::Device::maxWorkItemSizes(size_t *)
maxWriteImageArgs()#
int cv::ocl::Device::maxWriteImageArgs()
Python:
cv.ocl.Device.maxWriteImageArgs() -> retval
memBaseAddrAlign()#
int cv::ocl::Device::memBaseAddrAlign()
Python:
cv.ocl.Device.memBaseAddrAlign() -> retval
name()#
String cv::ocl::Device::name()
Python:
cv.ocl.Device.name() -> retval
nativeVectorWidthChar()#
int cv::ocl::Device::nativeVectorWidthChar()
Python:
cv.ocl.Device.nativeVectorWidthChar() -> retval
nativeVectorWidthDouble()#
int cv::ocl::Device::nativeVectorWidthDouble()
Python:
cv.ocl.Device.nativeVectorWidthDouble() -> retval
nativeVectorWidthFloat()#
int cv::ocl::Device::nativeVectorWidthFloat()
Python:
cv.ocl.Device.nativeVectorWidthFloat() -> retval
nativeVectorWidthHalf()#
int cv::ocl::Device::nativeVectorWidthHalf()
Python:
cv.ocl.Device.nativeVectorWidthHalf() -> retval
nativeVectorWidthInt()#
int cv::ocl::Device::nativeVectorWidthInt()
Python:
cv.ocl.Device.nativeVectorWidthInt() -> retval
nativeVectorWidthLong()#
int cv::ocl::Device::nativeVectorWidthLong()
Python:
cv.ocl.Device.nativeVectorWidthLong() -> retval
nativeVectorWidthShort()#
int cv::ocl::Device::nativeVectorWidthShort()
Python:
cv.ocl.Device.nativeVectorWidthShort() -> retval
OpenCL_C_Version()#
String cv::ocl::Device::OpenCL_C_Version()
Python:
cv.ocl.Device.OpenCL_C_Version() -> retval
OpenCLVersion()#
String cv::ocl::Device::OpenCLVersion()
Python:
cv.ocl.Device.OpenCLVersion() -> retval
operator=()#
operator=()#
preferredVectorWidthChar()#
int cv::ocl::Device::preferredVectorWidthChar()
Python:
cv.ocl.Device.preferredVectorWidthChar() -> retval
preferredVectorWidthDouble()#
int cv::ocl::Device::preferredVectorWidthDouble()
Python:
cv.ocl.Device.preferredVectorWidthDouble() -> retval
preferredVectorWidthFloat()#
int cv::ocl::Device::preferredVectorWidthFloat()
Python:
cv.ocl.Device.preferredVectorWidthFloat() -> retval
preferredVectorWidthHalf()#
int cv::ocl::Device::preferredVectorWidthHalf()
Python:
cv.ocl.Device.preferredVectorWidthHalf() -> retval
preferredVectorWidthInt()#
int cv::ocl::Device::preferredVectorWidthInt()
Python:
cv.ocl.Device.preferredVectorWidthInt() -> retval
preferredVectorWidthLong()#
int cv::ocl::Device::preferredVectorWidthLong()
Python:
cv.ocl.Device.preferredVectorWidthLong() -> retval
preferredVectorWidthShort()#
int cv::ocl::Device::preferredVectorWidthShort()
Python:
cv.ocl.Device.preferredVectorWidthShort() -> retval
printfBufferSize()#
size_t cv::ocl::Device::printfBufferSize()
Python:
cv.ocl.Device.printfBufferSize() -> retval
profilingTimerResolution()#
size_t cv::ocl::Device::profilingTimerResolution()
Python:
cv.ocl.Device.profilingTimerResolution() -> retval
ptr()#
void * cv::ocl::Device::ptr()
set()#
void cv::ocl::Device::set(void * d)
singleFPConfig()#
int cv::ocl::Device::singleFPConfig()
Python:
cv.ocl.Device.singleFPConfig() -> retval
type()#
Python:
vendorID()#
int cv::ocl::Device::vendorID()
Python:
cv.ocl.Device.vendorID() -> retval
vendorName()#
String cv::ocl::Device::vendorName()
Python:
cv.ocl.Device.vendorName() -> retval
version()#
String cv::ocl::Device::version()
Python:
cv.ocl.Device.version() -> retval
fromHandle()#
static Device cv::ocl::Device::fromHandle(void * d)
Note
Ownership of the passed device is passed to OpenCV on success. The caller should additionally call clRetainDevice on it if it intends to continue using the device.
Parameters
d— OpenCL handle (cl_device_id). clRetainDevice() is called on success.
getDefault()#
static const Device & cv::ocl::Device::getDefault()
Python:
cv.ocl.Device.getDefault() -> retval
cv.ocl.Device_getDefault() -> retval
Member Data Documentation#
p#
Source file#
The documentation for this class was generated from the following file:
opencv2/core/ocl.hpp