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!