Why is the vulkan device not recognised when I build the tvm runtime library?
I have enable Vulkan SDK in the TVM runtime build config and given the right paths. The runtime builds without any errors but when I try to run a python program to access the vulkan device by
import tvm
tvm.vulkan(0).device_name
I get the error saying Device API Vulkan not found.
I did not face this error when I built the full tvm library. TVM was able to detect the Vulkan API. Is there any dependency for the full libtvm.so to execute on vulkan device. I am not generating any code hence my assumption was that only libtvm_runtime.so was sufficient for this purpose.
How do I enable Vulkan API when I build only the libtvm_runtime.so?
This is happening on an aarch64 device. When I tried the same on my x86_64 desktop, I was able to build only the libtvm_runtime.so which works. Is there any way to see where the loader is registered when building the runtime on the aarch64 machine. Its not a problem with the libvulkan.so as it works with libtvm.so.
Any ideas on how I could further check?