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

add API for getting clock frequency values #80

Closed libc-furiosa closed 1 year ago

libc-furiosa commented 1 year ago

Add new feature: get clock frequencies using sysfs. This implementation assumes that the datasource file is written in the expected format. If the format is not as expected, the data is assumed to be missing.

This PR is covering Rust and Python.