SoCudaDevice Class |
CUDA device management class.
Namespace: OIV.Inventor.Devices
The SoCudaDevice type exposes the following members.
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() ![]() | FindFirstAvailableDevice | Returns the first available CUDA device in the system. |
![]() ![]() | Finish | Unregister the class and previously registered devices. |
![]() | GetAvailableMemory | Returns the current available memory of this device in bytes. |
![]() | GetComputingVersion | Returns the version of CUDA supported by the device. |
![]() | GetCudaDeviceId | Returns the CUDA device ID. |
![]() ![]() | GetDevice | Returns the SoCudaDevice indicated by index (starting with zero). |
![]() | GetDeviceName | Returns the name of this device. |
![]() ![]() | GetDevicesCount | Returns the number of CUDA capable GPUs in the system. |
![]() | GetDriverVersion | Returns the driver version of this device. |
![]() | GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) |
![]() | GetLogicalUnits | Returns the number of logical units of this device. |
![]() | GetMaxBlockSize | Returns the maximum block size for this device. |
![]() | GetMaxGridSize | Returns the maximum grid size for this device. |
![]() | GetMaxGridSize(Int32, Int32, Int32) | Returns the maximum grid size for this device. |
![]() | GetMaxSharedMemoryPerBlock | Returns the maximum size of the shared memory per block in bytes. |
![]() | GetMaxThreads | Returns the maximum number of threads per block. |
![]() | GetMemPitch | Returns the memory pitch for this device. |
![]() | GetTotalMemory | Returns the total memory of this device in bytes. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | Init | Detect and register available CUDA devices. |
![]() ![]() | IsInitialized | Returns true if module is currently initialized. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
This class provides functions to discover, and query information about, CUDA-enabled devices (typically GPUs) available in the system using NVIDIA's CUDA API. You can query the memory available on a device, the CUDA compute capability, etc.
Please see SoDevice for general information about the device classes.
NOTE: Before using these devices the application must initialize CUDA by calling SoCuda.init.