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

Builder struct for `DeviceConfig` needs enhancement #34

Closed sukyoungjeong-furiosa closed 2 years ago

sukyoungjeong-furiosa commented 2 years ago

Currently we only have WarboyConfigBuilder for building DeviceConfig, we need similar struct for Renegade.

Also there's some nit problems with its usage such as:

let config = DeviceConfig::warboy().fused().multicore().fused(); // code like this is permitted