SqueezeBrains SDK 1.18
|
Info class that wraps the sb_t_info structure.
You must call the Dispose() method to free all the resources of the returned instance.
More...
#include <cs_sb.h>
Public Member Functions | |
SbError | Refresh (int dl_devices_info) |
Refresh the sb library information More... | |
String | Format () |
Formats SbInfo parameters in a string. More... | |
Public Member Functions inherited from sb_cs::SbCommon | |
SbError | Error () |
Returns the error code of the last operation. If no error SbError.SB_ERR_NONE is returned. More... | |
String | ErrorMsg () |
Returns the error message of the last operation. More... | |
Data Fields | |
SbVersion | version |
Version of the sb library.
| |
String | version_str |
String of the version of the sb library.
| |
String | compile_date |
String of the compile date of the sb library.
| |
String | compile_time |
String of the compile time of the sb library
| |
signed long long | malloc_size |
Current allocated memory, expressed in bytes, by sb the library.
| |
signed long long | malloc_size_max |
Maximum allocated memory, expressed in bytes, by sb the library.
| |
int | dl_modules_enabled |
Value is different from 0 if Deep Learning modules are enabled.
| |
array< SbDeviceInfo^> | devices |
Array of available devices
| |
Additional Inherited Members | |
Static Public Member Functions inherited from sb_cs::SbCommon | |
static String | FormatError (SbError error) |
Returns the error message. More... | |
Info class that wraps the sb_t_info structure.
You must call the Dispose() method to free all the resources of the returned instance.
String sb_cs::SbInfo::Format | ( | ) |
Formats SbInfo parameters in a string.
SbError sb_cs::SbInfo::Refresh | ( | int | dl_devices_info | ) |
Refresh the sb library information
dl_devices_info | Set to a value other than 0 to also get the gpu information |