mirror of
https://github.com/nod-ai/AMD-SHARK-Studio.git
synced 2026-04-03 03:00:17 -04:00
In get_iree_runtime_config get the specific device instead of the default
This commit is contained in:
committed by
Boian Petkantchin
parent
aaf60bdee6
commit
bc17c29b2e
@@ -367,5 +367,5 @@ def get_results(compiled_vm, input, config, frontend="torch"):
|
||||
|
||||
def get_iree_runtime_config(device):
|
||||
device = iree_device_map(device)
|
||||
config = ireert.Config(driver_name=device.split("://")[0])
|
||||
config = ireert.Config(device=ireert.get_device(device))
|
||||
return config
|
||||
|
||||
Reference in New Issue
Block a user