tvm
|
Target kind registry. More...
#include <tvm/node/attr_registry_map.h>
#include <tvm/node/node.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 > |
Map<TargetKind, ValueType> used to store meta-information about TargetKind. More... | |
class | tvm::TargetKindRegEntry |
Helper structure to register TargetKind. More... | |
struct | tvm::detail::is_specialized< Type, Container > |
struct | tvm::detail::is_specialized< Container< Args... >, Container > |
struct | tvm::detail::ValueTypeInfoMaker< ValueType, IsArray, IsMap > |
Namespaces | |
tvm | |
Performance counters for profiling via the PAPI library. | |
tvm::detail | |
Macros | |
#define | TVM_TARGET_KIND_REGISTER_VAR_DEF static DMLC_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::TargetFeatures = Map< String, ObjectRef > |
Map containing parsed features of a specific Target. More... | |
using | tvm::TargetJSON = Map< String, ObjectRef > |
TargetParser to apply on instantiation of a given TargetKind. More... | |
using | tvm::FTVMTargetParser = runtime::TypedPackedFunc< TargetJSON(TargetJSON)> |
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 DMLC_ATTRIBUTE_UNUSED ::tvm::TargetKindRegEntry& __make_##TargetKind |