Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement metadata access and function execution #44

Open
11 of 23 tasks
libc-furiosa opened this issue Jul 4, 2022 · 2 comments
Open
11 of 23 tasks

Implement metadata access and function execution #44

libc-furiosa opened this issue Jul 4, 2022 · 2 comments
Assignees
Labels
api API

Comments

@libc-furiosa
Copy link
Collaborator

libc-furiosa commented Jul 4, 2022

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

pub fn busname(&mut self) -> Option<&str> {
)

  • readable

    • alive (-> Bool)
    • atr_error (-> Map)
    • busname (-> String)
    • dev (-> String)
    • device_state (-> Bool)
    • device_type (-> String)
    • device_uuid (-> String)
    • evb_rev (-> String)
    • fw_version (-> String)
    • heartbeat (-> Number)
    • ne_clk_freq_info (-> Map)
    • ne_dtm_policy (-> enum)
    • performance_level (-> enum)
    • performance_mode (-> enum)
    • platform_type (-> String)
    • soc_rev (-> String)
    • soc_uid (-> String)
    • version (-> String)
  • writable

    • device_led ([Bool;3] ->)
    • ne_clock (Bool ->)
    • ne_dtm_policy (enum ->)
    • performance_level (enum ->)
    • performance_mode (enum ->)
@libc-furiosa
Copy link
Collaborator Author

libc-furiosa commented Jul 4, 2022

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

@sukyoungjeong-furiosa
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api API
Projects
None yet
Development

No branches or pull requests

2 participants