|
Furiosa-smi
|
#include <stdarg.h>#include <stdbool.h>#include <stdint.h>#include <stdlib.h>
Go to the source code of this file.
Data Structures | |
| struct | FuriosaSmiDeviceHandles |
| Represent a device handle list in the system. More... | |
| struct | FuriosaSmiVersion |
| Represent the version of device component. More... | |
| struct | FuriosaSmiDeviceInfo |
| Represent a device information. More... | |
| struct | FuriosaSmiDeviceFile |
| Represent a device file information. More... | |
| struct | FuriosaSmiDeviceFiles |
| Represent a device file list of device. More... | |
| struct | FuriosaSmiPeStatus |
| Represent a core status of device. More... | |
| struct | FuriosaSmiCoreStatuses |
| Represent a core status list of device. More... | |
| struct | FuriosaSmiPeFrequency |
| Represent a core frequency information (MHz). More... | |
| struct | FuriosaSmiCoreFrequency |
| Represent a core frequency information (MHz). More... | |
| struct | FuriosaSmiMemoryFrequency |
| Represent a memory frequency information (MHz). More... | |
| struct | FuriosaSmiPePerformanceCounter |
| Represent a PE performance counter. More... | |
| struct | FuriosaSmiDevicePerformanceCounter |
| Represent a device performance counter. More... | |
| struct | FuriosaSmiDevicePowerConsumption |
| Represent a power consumption of device. More... | |
| struct | FuriosaSmiDeviceTemperature |
| Represent a temperature information of device. More... | |
| struct | FuriosaSmiDisabledDevices |
| Represent a disabled device list. More... | |
| struct | FuriosaSmiPcieDeviceInfo |
| Represent a PCIe device information. More... | |
| struct | FuriosaSmiPcieLinkInfo |
| Represent a PCIe link information. More... | |
| struct | FuriosaSmiSriovInfo |
| Represent a SR-IOV information. More... | |
| struct | FuriosaSmiPcieRootComplexInfo |
| Represent a PCIe root complex information. More... | |
| struct | FuriosaSmiPcieSwitchInfo |
| Represent a PCIe switch information. If switch doesn't exist, all values are max value. More... | |
| struct | FuriosaSmiMemoryBlock |
| Represent a (fusioned) memory information. More... | |
| struct | FuriosaSmiMemory |
| Represent a total memory information of NPU. More... | |
| struct | FuriosaSmiMemoryUtilization |
| Represent a memory utilization of NPU. More... | |
Macros | |
| #define | FURIOSA_SMI_MAX_PATH_SIZE 256 |
| #define | FURIOSA_SMI_MAX_DEVICE_FILE_SIZE 64 |
| #define | FURIOSA_SMI_MAX_CORE_STATUS_SIZE 128 |
| #define | FURIOSA_SMI_MAX_PE_SIZE 64 |
| #define | FURIOSA_SMI_MAX_DEVICE_HANDLE_SIZE 64 |
| #define | FURIOSA_SMI_MAX_CSTR_SIZE 96 |
| #define | FURIOSA_SMI_THROTTLE_REASON_NONE 0 |
| Throttling not active. | |
| #define | FURIOSA_SMI_THROTTLE_REASON_IDLE (1 << 0) |
| Throttling in idle or unused state. | |
| #define | FURIOSA_SMI_THROTTLE_REASON_THERMAL_SLOWDOWN (1 << 1) |
| Throttling triggered by high temperature. | |
| #define | FURIOSA_SMI_THROTTLE_REASON_APP_POWER_CAP (1 << 2) |
| Throttling due to host-defined power limit. | |
| #define | FURIOSA_SMI_THROTTLE_REASON_APP_CLOCK_CAP (1 << 3) |
| Throttling due to host-defined clock limit. | |
| #define | FURIOSA_SMI_THROTTLE_REASON_HW_CLOCK_CAP (1 << 4) |
| Throttling from device-internal clock limit. | |
| #define | FURIOSA_SMI_THROTTLE_REASON_HW_BUS_LIMIT (1 << 5) |
| Throttling from internal bus/NoC bandwidth limit. | |
| #define | FURIOSA_SMI_THROTTLE_REASON_HW_POWER_CAP (1 << 6) |
| Throttling from device-enforced power limit. | |
| #define | FURIOSA_SMI_THROTTLE_REASON_OTHER_REASON (1 << 7) |
| Throttling due to other undefined reasons. | |
Typedefs | |
| typedef uint32_t | FuriosaSmiDeviceHandle |
| typedef char | FuriosaSmiBdf[FURIOSA_SMI_MAX_CSTR_SIZE] |
| typedef uint32_t | FuriosaSmiThrottleReason |
| Represent a reason for throttling. | |
| #define FURIOSA_SMI_MAX_CORE_STATUS_SIZE 128 |
| #define FURIOSA_SMI_MAX_CSTR_SIZE 96 |
| #define FURIOSA_SMI_MAX_DEVICE_FILE_SIZE 64 |
| #define FURIOSA_SMI_MAX_DEVICE_HANDLE_SIZE 64 |
| #define FURIOSA_SMI_MAX_PATH_SIZE 256 |
| #define FURIOSA_SMI_MAX_PE_SIZE 64 |
| #define FURIOSA_SMI_THROTTLE_REASON_APP_CLOCK_CAP (1 << 3) |
Throttling due to host-defined clock limit.
| #define FURIOSA_SMI_THROTTLE_REASON_APP_POWER_CAP (1 << 2) |
Throttling due to host-defined power limit.
| #define FURIOSA_SMI_THROTTLE_REASON_HW_BUS_LIMIT (1 << 5) |
Throttling from internal bus/NoC bandwidth limit.
| #define FURIOSA_SMI_THROTTLE_REASON_HW_CLOCK_CAP (1 << 4) |
Throttling from device-internal clock limit.
| #define FURIOSA_SMI_THROTTLE_REASON_HW_POWER_CAP (1 << 6) |
Throttling from device-enforced power limit.
| #define FURIOSA_SMI_THROTTLE_REASON_IDLE (1 << 0) |
Throttling in idle or unused state.
| #define FURIOSA_SMI_THROTTLE_REASON_NONE 0 |
Throttling not active.
| #define FURIOSA_SMI_THROTTLE_REASON_OTHER_REASON (1 << 7) |
Throttling due to other undefined reasons.
| #define FURIOSA_SMI_THROTTLE_REASON_THERMAL_SLOWDOWN (1 << 1) |
Throttling triggered by high temperature.
| typedef char FuriosaSmiBdf[FURIOSA_SMI_MAX_CSTR_SIZE] |
| typedef uint32_t FuriosaSmiDeviceHandle |
| typedef uint32_t FuriosaSmiThrottleReason |
Represent a reason for throttling.
| enum FuriosaSmiArch |
| enum FuriosaSmiCoreStatus |
Represent a device link type.
| enum FuriosaSmiReturnCode |
Represent a return status.