Expand description
Compilation targets.
The objects python/tvm_tirx/target/target.py defines. A Target has a TargetKind,
keys, attributes and an optional host. The target functions of the Python package are here too:
construction, the current target scope, the tag registry and the code generators of the kinds.
Structs§
- Opaque: bytes [56, 152) of [24, 152) are not accounted for by reflected fields. Fields are read through the C ABI getters.
- Opaque: bytes [72, 88) of [24, 88) are not accounted for by reflected fields. Fields are read through the C ABI getters.
- The target, in effect as the current one while it is alive:
Target::scope.
Functions§
- Generate the code of
modulewith the code generatortarget.build.<kind>, such asllvm,c,cuda,cuda_hostornvptx; an error when it is not built in. - The registered target tags, with their targets (
target.TargetTagListTags). - Register the tag
namefor the targetconfigdescribes, replacing a previous one only ifoverride_, and return that target (target.TargetTagAddTag).