#include <ocl.hpp>
Public Types | |
enum | { TYPE_DEFAULT = (1 << 0) , TYPE_CPU = (1 << 1) , TYPE_GPU = (1 << 2) , TYPE_ACCELERATOR = (1 << 3) , TYPE_DGPU = TYPE_GPU + (1 << 16) , TYPE_IGPU = TYPE_GPU + (1 << 17) , TYPE_ALL = 0xFFFFFFFF } |
enum | { FP_DENORM =(1 << 0) , FP_INF_NAN =(1 << 1) , FP_ROUND_TO_NEAREST =(1 << 2) , FP_ROUND_TO_ZERO =(1 << 3) , FP_ROUND_TO_INF =(1 << 4) , FP_FMA =(1 << 5) , FP_SOFT_FLOAT =(1 << 6) , FP_CORRECTLY_ROUNDED_DIVIDE_SQRT =(1 << 7) } |
enum | { EXEC_KERNEL =(1 << 0) , EXEC_NATIVE_KERNEL =(1 << 1) } |
enum | { NO_CACHE =0 , READ_ONLY_CACHE =1 , READ_WRITE_CACHE =2 } |
enum | { NO_LOCAL_MEM =0 , LOCAL_IS_LOCAL =1 , LOCAL_IS_GLOBAL =2 } |
enum | { UNKNOWN_VENDOR =0 , VENDOR_AMD =1 , VENDOR_INTEL =2 , VENDOR_NVIDIA =3 } |
Static Public Member Functions | |
static CV_WRAP const Device & | getDefault () |
static Device | fromHandle (void *d) |
Protected Attributes | |
Impl * | p |
anonymous enum |
anonymous enum |
CV_WRAP cv::ocl::Device::Device | ( | ) |
|
explicit |
cv::ocl::Device::Device | ( | const Device & | d | ) |
cv::ocl::Device::Device | ( | Device && | d | ) |
CV_WRAP cv::ocl::Device::~Device | ( | ) |
CV_WRAP int cv::ocl::Device::addressBits | ( | ) | const |
CV_WRAP bool cv::ocl::Device::available | ( | ) | const |
CV_WRAP bool cv::ocl::Device::compilerAvailable | ( | ) | const |
CV_WRAP int cv::ocl::Device::deviceVersionMajor | ( | ) | const |
CV_WRAP int cv::ocl::Device::deviceVersionMinor | ( | ) | const |
CV_WRAP int cv::ocl::Device::doubleFPConfig | ( | ) | const |
|
inline |
CV_WRAP bool cv::ocl::Device::endianLittle | ( | ) | const |
CV_WRAP bool cv::ocl::Device::errorCorrectionSupport | ( | ) | const |
CV_WRAP int cv::ocl::Device::executionCapabilities | ( | ) | const |
|
static |
d | OpenCL handle (cl_device_id). clRetainDevice() is called on success. |
clRetainDevice
on it if it intends to continue using the device.
|
inline |
CV_WRAP int cv::ocl::Device::globalMemCacheLineSize | ( | ) | const |
CV_WRAP size_t cv::ocl::Device::globalMemCacheSize | ( | ) | const |
CV_WRAP int cv::ocl::Device::globalMemCacheType | ( | ) | const |
CV_WRAP size_t cv::ocl::Device::globalMemSize | ( | ) | const |
CV_WRAP int cv::ocl::Device::halfFPConfig | ( | ) | const |
CV_WRAP bool cv::ocl::Device::hasFP16 | ( | ) | const |
true if 'cl_khr_fp16' extension is available
CV_WRAP bool cv::ocl::Device::hasFP64 | ( | ) | const |
true if 'cl_khr_fp64' extension is available
CV_WRAP bool cv::ocl::Device::hostUnifiedMemory | ( | ) | const |
CV_WRAP size_t cv::ocl::Device::image2DMaxHeight | ( | ) | const |
CV_WRAP size_t cv::ocl::Device::image2DMaxWidth | ( | ) | const |
CV_WRAP size_t cv::ocl::Device::image3DMaxDepth | ( | ) | const |
CV_WRAP size_t cv::ocl::Device::image3DMaxHeight | ( | ) | const |
CV_WRAP size_t cv::ocl::Device::image3DMaxWidth | ( | ) | const |
uint cv::ocl::Device::imageBaseAddressAlignment | ( | ) | const |
CV_WRAP bool cv::ocl::Device::imageFromBufferSupport | ( | ) | const |
CV_WRAP size_t cv::ocl::Device::imageMaxArraySize | ( | ) | const |
CV_WRAP size_t cv::ocl::Device::imageMaxBufferSize | ( | ) | const |
uint cv::ocl::Device::imagePitchAlignment | ( | ) | const |
CV_WRAP bool cv::ocl::Device::imageSupport | ( | ) | const |
CV_WRAP bool cv::ocl::Device::intelSubgroupsSupport | ( | ) | const |
deprecated, use isExtensionSupported() method (probably with "cl_khr_subgroups" value)
|
inline |
|
inline |
|
inline |
CV_WRAP bool cv::ocl::Device::linkerAvailable | ( | ) | const |
CV_WRAP size_t cv::ocl::Device::localMemSize | ( | ) | const |
CV_WRAP int cv::ocl::Device::localMemType | ( | ) | const |
CV_WRAP int cv::ocl::Device::maxClockFrequency | ( | ) | const |
CV_WRAP int cv::ocl::Device::maxComputeUnits | ( | ) | const |
CV_WRAP int cv::ocl::Device::maxConstantArgs | ( | ) | const |
CV_WRAP size_t cv::ocl::Device::maxConstantBufferSize | ( | ) | const |
CV_WRAP size_t cv::ocl::Device::maxMemAllocSize | ( | ) | const |
CV_WRAP size_t cv::ocl::Device::maxParameterSize | ( | ) | const |
CV_WRAP int cv::ocl::Device::maxReadImageArgs | ( | ) | const |
CV_WRAP int cv::ocl::Device::maxSamplers | ( | ) | const |
CV_WRAP size_t cv::ocl::Device::maxWorkGroupSize | ( | ) | const |
CV_WRAP int cv::ocl::Device::maxWorkItemDims | ( | ) | const |
void cv::ocl::Device::maxWorkItemSizes | ( | size_t * | ) | const |
CV_WRAP int cv::ocl::Device::maxWriteImageArgs | ( | ) | const |
CV_WRAP int cv::ocl::Device::memBaseAddrAlign | ( | ) | const |
CV_WRAP int cv::ocl::Device::nativeVectorWidthChar | ( | ) | const |
CV_WRAP int cv::ocl::Device::nativeVectorWidthDouble | ( | ) | const |
CV_WRAP int cv::ocl::Device::nativeVectorWidthFloat | ( | ) | const |
CV_WRAP int cv::ocl::Device::nativeVectorWidthHalf | ( | ) | const |
CV_WRAP int cv::ocl::Device::nativeVectorWidthInt | ( | ) | const |
CV_WRAP int cv::ocl::Device::nativeVectorWidthLong | ( | ) | const |
CV_WRAP int cv::ocl::Device::nativeVectorWidthShort | ( | ) | const |
CV_WRAP int cv::ocl::Device::preferredVectorWidthChar | ( | ) | const |
CV_WRAP int cv::ocl::Device::preferredVectorWidthDouble | ( | ) | const |
CV_WRAP int cv::ocl::Device::preferredVectorWidthFloat | ( | ) | const |
CV_WRAP int cv::ocl::Device::preferredVectorWidthHalf | ( | ) | const |
CV_WRAP int cv::ocl::Device::preferredVectorWidthInt | ( | ) | const |
CV_WRAP int cv::ocl::Device::preferredVectorWidthLong | ( | ) | const |
CV_WRAP int cv::ocl::Device::preferredVectorWidthShort | ( | ) | const |
CV_WRAP size_t cv::ocl::Device::printfBufferSize | ( | ) | const |
CV_WRAP size_t cv::ocl::Device::profilingTimerResolution | ( | ) | const |
void* cv::ocl::Device::ptr | ( | ) | const |
void cv::ocl::Device::set | ( | void * | d | ) |
CV_WRAP int cv::ocl::Device::singleFPConfig | ( | ) | const |
CV_WRAP int cv::ocl::Device::type | ( | ) | const |
CV_WRAP int cv::ocl::Device::vendorID | ( | ) | const |
|
protected |