furiosa-ai / device-api

APIs that offers NPU devices' information and allow to control the devices
Apache License 2.0
5 stars 8 forks source link

Implement metadata access and function execution #44

Open libc-furiosa opened 2 years ago

libc-furiosa commented 2 years ago

Add device management API for accessing metadata and running functions. (for https://github.com/furiosa-ai/device-api/blob/b0647e0b2ac27b987df75e07dae1ecf1490d4d55/src/sysfs.rs like https://github.com/furiosa-ai/device-api/blob/b0647e0b2ac27b987df75e07dae1ecf1490d4d55/src/device.rs#L81)

libc-furiosa commented 2 years ago

@sukyoungjeong-furiosa First, I'll start with alive, atr_error, heartbeat.

sukyoungjeong-furiosa commented 2 years ago

Ok, I'll try establishing the primitives for writable mgmt files and interface functions for them.