SqueezeBrains SDK 1.18
sb_t_devices_par Struct Reference

Property of computational devices. More...

#include <sb.h>

Data Fields

sb_t_device_type type
 Device type.
 
sb_t_framework_type framework
 Framework associated to the device. More...
 
int id [SB_DEVICES_MAX_NUMBER]
 Identifier of the devices to be used. More...
 

Detailed Description

Property of computational devices.

Property of the devices on which to execute the functions sb_svl_run or sb_project_detection for Deep Cortex and Deep Surface project type.

Definition at line 11232 of file sb.h.

Field Documentation

◆ framework

sb_t_framework_type sb_t_devices_par::framework

Framework associated to the device.

The framework identifies the library to be used by the device.

Definition at line 11243 of file sb.h.

◆ id

int sb_t_devices_par::id[SB_DEVICES_MAX_NUMBER]

Identifier of the devices to be used.

The value is the index of the device to use. All the devices must be of the same sb_t_devices_par::type.
Currently only the id at index 0 is taken into account. -1 means not used.

Note
Call the function sb_get_info with second argument to 1 to know the indexes of devices compatible with deep learning (ex: GPUs) mounted on the machine.

Definition at line 11252 of file sb.h.


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