Hi, I’m using TVM to generate DSP code. Because the DSP does not support LLVM, I have to generate C code with CodeGenCHost. However, the generated code and runtime code use int64 or double(e.g. TVMValue, TVMArray) and the DSP doesn’t support it.
So is there any way to support devices that has no 64bit data type support? Do I have to write a new runtime?
We can certainly try to split between device and host code. Which means we generate a device code that only understand int32, and uses host code to call into the device. In order to do so, we will need a DSP runtime API and split host device to split the DSP code into device one
2 Likes