This PR adds devfs module, offering more abstracted ways to access devfs related things. This PR also includes other changes using the newly adopted devfs APIs.
Please note that this change of PR removes the support of the npu device name form like npu0pe0-1-2. It's because we need to support only the combination of PEs like 0-3, 4-8 or 0-1,2-3,4-5,6-7 even when the renegade is released out. So, the simpler way to represent a range of PEs would be enough.
This PR adds devfs module, offering more abstracted ways to access devfs related things. This PR also includes other changes using the newly adopted devfs APIs.
Please note that this change of PR removes the support of the npu device name form like
npu0pe0-1-2
. It's because we need to support only the combination of PEs like 0-3, 4-8 or 0-1,2-3,4-5,6-7 even when the renegade is released out. So, the simpler way to represent a range of PEs would be enough.