Kamran-10xe opened a new issue, #10957:
URL: https://github.com/apache/tvm/issues/10957

   Hi, 
   I have been trying to go through the tutorial which helps compile the 
RESNET50 using an LLVM Back-end. The LLVM Back-end I am using is a cross 
compiler for RISC-V. So I am trying to generate the assembly for RISC-V from 
RESNET50. When I try to compile the code using the following command:
   `tvmc compile --target "llvm -march=rv64imv -mcpu=generic-rv64" --output 
resnet50-v2-7-tvm.tar resnet50-v2-7.onnx`
   It gives the following error:
   `LLVM ERROR: CPU 'generic' is not supported. Use generic-rv64`
   I have also tried to specify the target using:
   `--target=llvm --target-llvm-mcpu=generic-rv64`
   But, the error remains the same. 
   The LLVM I am using is only built for RISC-V and I have used it many times 
so I don't know, where the issue is,  but I don't think the issue would be with 
LLVM.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to