Hello,

I compiled my relay graph to a DSO library, json graph and a parameter binary 
file like below:
graph, lib, lowered_params = relay.build(mod, target="opencl", 
target_host="llvm --runtime=c++, params=params)
lib.export_library(os.path.join(build_dir, name+".so"))

When I'm deploying this module using C++, I loaded the library with 
tvm::runtime::Module::LoadFromFile().
Then how can I know the device type that this runtime module was compiled for?
I didn't find any API or attribute that keeps this info.

Can someone land me a hand please?

Thanks a lot!





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/can-we-get-device-type-from-runtime-module/11801/1)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/b6c8ac32b7369fddb3cfe0992263b887b12eac692bf68b409c1c560c74ec4874).

Reply via email to