In get_iree_runtime_config get the specific device instead of the default

This commit is contained in:
Boian Petkantchin
2022-12-11 10:19:38 -08:00
committed by Boian Petkantchin
parent aaf60bdee6
commit bc17c29b2e

View File

@@ -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