Struct opencv::core::DeviceInfo[][src]

pub struct DeviceInfo { /* fields omitted */ }
Expand description

Class providing functionality for querying the specified GPU properties.

Implementations

creates DeviceInfo object for the current GPU

The constructors.

Parameters
  • device_id: System index of the CUDA device starting with 0.

Constructs the DeviceInfo object for the specified device. If device_id parameter is missed, it constructs an object for the current device.

Trait Implementations

Wrap the specified raw pointer Read more

Return an the underlying raw pointer while consuming this wrapper. Read more

Return the underlying raw pointer. Read more

Return the underlying mutable raw pointer Read more

Returns system index of the CUDA device starting with 0.

ASCII string identifying device

global memory available on device in bytes

shared memory available per block in bytes

32-bit registers available per block

warp size in threads

maximum pitch in bytes allowed by memory copies

maximum number of threads per block

maximum size of each dimension of a block

maximum size of each dimension of a grid

clock frequency in kilohertz

constant memory available on device in bytes

major compute capability

minor compute capability

alignment requirement for textures

pitch alignment requirement for texture references bound to pitched memory

number of multiprocessors on device

specified whether there is a run time limit on kernels

device is integrated as opposed to discrete

device can map host memory with cudaHostAlloc/cudaHostGetDevicePointer

compute mode

maximum 1D texture size

maximum 1D mipmapped texture size

maximum size for 1D textures bound to linear memory

maximum 2D texture dimensions

maximum 2D mipmapped texture dimensions

maximum dimensions (width, height, pitch) for 2D textures bound to pitched memory

maximum 2D texture dimensions if texture gather operations have to be performed

maximum 3D texture dimensions

maximum Cubemap texture dimensions

maximum 1D layered texture dimensions

maximum 2D layered texture dimensions

maximum Cubemap layered texture dimensions

maximum 1D surface size

maximum 2D surface dimensions

maximum 3D surface dimensions

maximum 1D layered surface dimensions

maximum 2D layered surface dimensions

maximum Cubemap surface dimensions

maximum Cubemap layered surface dimensions

alignment requirements for surfaces

device can possibly execute multiple kernels concurrently

device has ECC support enabled

PCI bus ID of the device

PCI device ID of the device

PCI domain ID of the device

true if device is a Tesla device using TCC driver, false otherwise

number of asynchronous engines

device shares a unified address space with the host

peak memory clock frequency in kilohertz

global memory bus width in bits

size of L2 cache in bytes

maximum resident threads per multiprocessor

gets free and total device memory

Provides information on CUDA feature support. Read more

Checks the CUDA module and device compatibility. Read more

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.