mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
feat: select adapter id for DirectML
This commit is contained in:
@@ -82,7 +82,7 @@ struct FASTDEPLOY_DECL RuntimeOption {
|
||||
void UseAscend();
|
||||
|
||||
/// Use onnxruntime DirectML to inference
|
||||
void UseDirectML();
|
||||
void UseDirectML(int adapter_id = 0);
|
||||
|
||||
/// Use Sophgo to inference
|
||||
void UseSophgo();
|
||||
|
||||
Reference in New Issue
Block a user