|
tvm
|
Generic function that can be specialzied on a per target basis. More...
#include <tvm/runtime/packed_func.h>#include <tvm/support/with.h>#include <tvm/target/target.h>#include <string>#include <unordered_map>#include <utility>#include <vector>Go to the source code of this file.
Classes | |
| class | tvm::GenericFunc |
| Generic function that can be specialized on a per-target basis. More... | |
| class | tvm::GenericFuncNode |
| Represents a generic function that can be specialized on a per-target basis. More... | |
Namespaces | |
| tvm | |
| runtime implementation for LibTorch/TorchScript. | |
Macros | |
| #define | TVM_GENERIC_FUNC_REG_VAR_DEF static TVM_ATTRIBUTE_UNUSED ::tvm::GenericFunc& __mk_##TVM |
| #define | TVM_REGISTER_GENERIC_FUNC(name) TVM_STR_CONCAT(TVM_GENERIC_FUNC_REG_VAR_DEF, __COUNTER__) = ::tvm::GenericFunc::Get(#name) |
| Register a new generic function, or set a device-specific variant of the corresponding function. More... | |
Generic function that can be specialzied on a per target basis.
| #define TVM_GENERIC_FUNC_REG_VAR_DEF static TVM_ATTRIBUTE_UNUSED ::tvm::GenericFunc& __mk_##TVM |
| #define TVM_REGISTER_GENERIC_FUNC | ( | name | ) | TVM_STR_CONCAT(TVM_GENERIC_FUNC_REG_VAR_DEF, __COUNTER__) = ::tvm::GenericFunc::Get(#name) |
Register a new generic function, or set a device-specific variant of the corresponding function.
| name | The name of the function |
1.8.13