tvm_tirx.support.cc.get_target_by_dump_machine

tvm_tirx.support.cc.get_target_by_dump_machine#

tvm_tirx.support.cc.get_target_by_dump_machine(compiler)#

Functor of get_target_triple that can get the target triple using compiler.

Parameters:

compiler (Optional[str]) – The compiler.

Returns:

out (Callable) – A function that can get target triple according to dumpmachine option of compiler.