|
tvm
|
Target kind registry. More...
#include <tvm/ffi/function.h>#include <tvm/ffi/reflection/registry.h>#include <tvm/ir/config_schema.h>#include <tvm/node/attr_registry_map.h>#include <tvm/runtime/object.h>#include <memory>#include <unordered_map>#include <utility>#include <vector>Go to the source code of this file.
Classes | |
| class | tvm::TargetKindNode |
| Target kind, specifies the kind of the target. More... | |
| class | tvm::TargetKind |
| Managed reference class to TargetKindNode. More... | |
| class | tvm::TargetKindAttrMap< ValueType > |
| ffi::Map<TargetKind, ValueType> used to store meta-information about TargetKind More... | |
| class | tvm::TargetKindRegEntry |
| Helper structure to register TargetKind. More... | |
Namespaces | |
| tvm | |
| An object that builds and maintains block scope and StmtSref mapping for Dependence analysis. | |
Macros | |
| #define | TVM_TARGET_KIND_REGISTER_VAR_DEF static TVM_ATTRIBUTE_UNUSED ::tvm::TargetKindRegEntry& __make_##TargetKind |
| #define | TVM_REGISTER_TARGET_KIND(TargetKindName, DeviceType) |
| Register a new target kind, or set attribute of the corresponding target kind. More... | |
Typedefs | |
| using | tvm::FTargetCanonicalizer = ffi::TypedFunction< ffi::Map< ffi::String, ffi::Any >(ffi::Map< ffi::String, ffi::Any >)> |
| Target canonicalizer applied on instantiation of a given TargetKind. More... | |
Target kind registry.
| #define TVM_REGISTER_TARGET_KIND | ( | TargetKindName, | |
| DeviceType | |||
| ) |
Register a new target kind, or set attribute of the corresponding target kind.
| TargetKindName | The name of target kind |
| DeviceType | The DLDeviceType of the target kind |
| #define TVM_TARGET_KIND_REGISTER_VAR_DEF static TVM_ATTRIBUTE_UNUSED ::tvm::TargetKindRegEntry& __make_##TargetKind |