OpenCV453
公開型 | 公開メンバ関数 | 静的公開メンバ関数 | 限定公開変数類 | 全メンバ一覧
cv::ocl::Device クラス

公開型

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 }
 

公開メンバ関数

 Device (void *d)
 
 Device (const Device &d)
 
Deviceoperator= (const Device &d)
 
 Device (Device &&d) CV_NOEXCEPT
 
Deviceoperator= (Device &&d) CV_NOEXCEPT
 
void set (void *d)
 
CV_WRAP String name () const
 
CV_WRAP String extensions () const
 
CV_WRAP bool isExtensionSupported (const String &extensionName) const
 
CV_WRAP String version () const
 
CV_WRAP String vendorName () const
 
CV_WRAP String OpenCL_C_Version () const
 
CV_WRAP String OpenCLVersion () const
 
CV_WRAP int deviceVersionMajor () const
 
CV_WRAP int deviceVersionMinor () const
 
CV_WRAP String driverVersion () const
 
void * ptr () const
 
CV_WRAP int type () const
 
CV_WRAP int addressBits () const
 
CV_WRAP bool available () const
 
CV_WRAP bool compilerAvailable () const
 
CV_WRAP bool linkerAvailable () const
 
CV_WRAP int doubleFPConfig () const
 
CV_WRAP int singleFPConfig () const
 
CV_WRAP int halfFPConfig () const
 
CV_WRAP bool endianLittle () const
 
CV_WRAP bool errorCorrectionSupport () const
 
CV_WRAP int executionCapabilities () const
 
CV_WRAP size_t globalMemCacheSize () const
 
CV_WRAP int globalMemCacheType () const
 
CV_WRAP int globalMemCacheLineSize () const
 
CV_WRAP size_t globalMemSize () const
 
CV_WRAP size_t localMemSize () const
 
CV_WRAP int localMemType () const
 
CV_WRAP bool hostUnifiedMemory () const
 
CV_WRAP bool imageSupport () const
 
CV_WRAP bool imageFromBufferSupport () const
 
uint imagePitchAlignment () const
 
uint imageBaseAddressAlignment () const
 
CV_WRAP bool intelSubgroupsSupport () const
 deprecated, use isExtensionSupported() method (probably with "cl_khr_subgroups" value)
 
CV_WRAP size_t image2DMaxWidth () const
 
CV_WRAP size_t image2DMaxHeight () const
 
CV_WRAP size_t image3DMaxWidth () const
 
CV_WRAP size_t image3DMaxHeight () const
 
CV_WRAP size_t image3DMaxDepth () const
 
CV_WRAP size_t imageMaxBufferSize () const
 
CV_WRAP size_t imageMaxArraySize () const
 
CV_WRAP int vendorID () const
 
CV_WRAP bool isAMD () const
 
CV_WRAP bool isIntel () const
 
CV_WRAP bool isNVidia () const
 
CV_WRAP int maxClockFrequency () const
 
CV_WRAP int maxComputeUnits () const
 
CV_WRAP int maxConstantArgs () const
 
CV_WRAP size_t maxConstantBufferSize () const
 
CV_WRAP size_t maxMemAllocSize () const
 
CV_WRAP size_t maxParameterSize () const
 
CV_WRAP int maxReadImageArgs () const
 
CV_WRAP int maxWriteImageArgs () const
 
CV_WRAP int maxSamplers () const
 
CV_WRAP size_t maxWorkGroupSize () const
 
CV_WRAP int maxWorkItemDims () const
 
void maxWorkItemSizes (size_t *) const
 
CV_WRAP int memBaseAddrAlign () const
 
CV_WRAP int nativeVectorWidthChar () const
 
CV_WRAP int nativeVectorWidthShort () const
 
CV_WRAP int nativeVectorWidthInt () const
 
CV_WRAP int nativeVectorWidthLong () const
 
CV_WRAP int nativeVectorWidthFloat () const
 
CV_WRAP int nativeVectorWidthDouble () const
 
CV_WRAP int nativeVectorWidthHalf () const
 
CV_WRAP int preferredVectorWidthChar () const
 
CV_WRAP int preferredVectorWidthShort () const
 
CV_WRAP int preferredVectorWidthInt () const
 
CV_WRAP int preferredVectorWidthLong () const
 
CV_WRAP int preferredVectorWidthFloat () const
 
CV_WRAP int preferredVectorWidthDouble () const
 
CV_WRAP int preferredVectorWidthHalf () const
 
CV_WRAP size_t printfBufferSize () const
 
CV_WRAP size_t profilingTimerResolution () const
 
Impl * getImpl () const
 
bool empty () const
 

静的公開メンバ関数

static CV_WRAP const DevicegetDefault ()
 
static Device fromHandle (void *d)
 

限定公開変数類

Impl * p
 

関数詳解

◆ fromHandle()

static Device cv::ocl::Device::fromHandle ( void *  d)
static
引数
dOpenCL handle (cl_device_id). clRetainDevice() is called on success.

このクラス詳解は次のファイルから抽出されました: