junrushao1994 opened a new pull request #6347: URL: https://github.com/apache/incubator-tvm/pull/6347
This PR uses target class to replace almost all the raw target strings in all the codegen modules. It further helps with us migration towards a robost JSON-like targets configuration, per [[RFC] TVM Target Specification](https://discuss.tvm.ai/t/rfc-tvm-target-specification/6844?u=junrushao1994). Only one place in the code generators use raw string: the metadata section `tvm_target` in the llvm module. I haven't got a better idea how to deal with this yet. Don't hesitate to suggest if you have good ideas :-) CC: @comaniac @jroesch @tqchen ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org