UACCE Device Attribute Examples
SYSFS File |
Attribute |
Description |
|---|---|---|
/sys/class/uacce/accelerator_device/attrs/available_instances |
RO |
Checks the number of available hardware queues on the current accelerator. |
/sys/class/uacce/accelerator_device/attrs/node_id |
RO |
Checks the node ID of the current accelerator. |
/sys/class/uacce/accelerator_device/attrs/algorithms |
RO |
Checks the algorithms supported by the current device. |
/sys/class/uacce/accelerator_device/attrs/isolate_strategy |
RW |
|
/sys/class/uacce/accelerator_device/attrs/isolate |
RO |
0: The device is in position. The algorithm queue can be obtained from the device through the WD interface. 1: The device is isolated. The algorithm queue cannot be obtained from the device through the WD interface. Others: invalid values |
accelerator_device indicates the name of an accelerator.