Hi,
I’ve some question in passing command line arguments to TVM Compile
Usually, We pass host specific command line options attribute using --target=“llvm -mcpu=abc -runtime=crt” , Can the same method be followed for hybrid target ?
Eg:
$python3 -m tvm.driver.tvmc compiler --target="mrvl -mcpu=xyz -runtime=crt, llvm"
I checked up with other hybrid model, it accepts option in following way
--target="byoc, llvm" --target-BYOC-mcpu=abc --target-BYOC-runtime=crt
Am interested in the LLVM approach, as it makes easy to construct the command , where as explicit attribute specification for BYOC is bit lengthy
Could some one put light on it , If we have to support the LLVM way, what change is required ?
Also, what is the expectation from the TVM for a hybrid target ? i.e to use longer version Or short version of giving options
Long version : --target-BYOC-attr=xyz
Short version:` --target=“mrvl, -mcpu=abc, llvm”