|
IRON 1.0
|
Functions | |
| bool | is_wsl () |
| str | xrt_smi_path () |
| detect_npu_device () | |
| set_current_device (device) | |
| get_current_device () | |
Variables | |
| dict | config = {} |
| iron.config.detect_npu_device | ( | ) |
Detects the current device in the system.
This assumes XRT and XDNA driver is installed
and the system has NPU hardware.
Returns:
The current system device.
| iron.config.get_current_device | ( | ) |
Gets the current device.
Returns:
The currently set device.
| bool iron.config.is_wsl | ( | ) |
| iron.config.set_current_device | ( | device | ) |
Sets the current device.
Args:
device: Device to set as the current device.
Returns:
The previously set device.
| str iron.config.xrt_smi_path | ( | ) |
| dict iron.config.config = {} |