SqueezeBrains SDK 1.18
sb_t_device_info Struct Reference

Information about a computing device. More...

#include <sb.h>

Collaboration diagram for sb_t_device_info:

Data Fields

sb_t_device_type type
 Device type.
 
sb_t_frameworks frameworks
 Compatible frameworks. More...
 
char name [128]
 Device name.
 
char compute_capability [8]
 Device CUDA Compute capability. More...
 
int id
 Identifier of the device. More...
 
sb_t_memory_info memory
 Memory information about the device and its process. More...
 
int available
 Indicates if the device is available on the PC in use. More...
 

Detailed Description

Information about a computing device.

Information about device executing computations of the functions sb_svl_run or sb_project_detection .

Definition at line 6877 of file sb.h.

Field Documentation

◆ available

int sb_t_device_info::available

Indicates if the device is available on the PC in use.

0 if the device is not available, otherwise different than 0.

Definition at line 6922 of file sb.h.

◆ compute_capability

char sb_t_device_info::compute_capability[8]

Device CUDA Compute capability.

CUDA Compute capabilities identifies the features supported by the GPU hardware and used at runtime. An official list of Nvidia GPUs and their associate CUDA Capabilities can be found at the following web page: https://developer.nvidia.com/cuda-gpus.

Note
Available only if the device type is SB_DEVICE_GPU_NVIDIA .

Definition at line 6901 of file sb.h.

◆ frameworks

sb_t_frameworks sb_t_device_info::frameworks

Compatible frameworks.

List of frameworks compatible with the device.

Definition at line 6888 of file sb.h.

◆ id

int sb_t_device_info::id

Identifier of the device.

It is the identifier of the current device among the total devices number of the same type available on the machine. It is always equal to 0 unless more devices of the same type are available (e.g. machine has more GPUs connected). This value must be used to set sb_t_par::devices and sb_t_svl_par::devices used by sb_project_detection and sb_svl_run.
If device type is SB_DEVICE_CPU, it is always 0.

Definition at line 6910 of file sb.h.

◆ memory

sb_t_memory_info sb_t_device_info::memory

Memory information about the device and its process.

Note
Not available if device type is SB_DEVICE_IGPU_INTEL or is SB_DEVICE_DGPU_INTEL .

Definition at line 6916 of file sb.h.


The documentation for this struct was generated from the following file: