Enum TVMDeviceExtType#
Defined in File device_api.h
Enum Documentation#
-
enum tvm::runtime::TVMDeviceExtType#
Extension device types in TVM.
Additional enumerators to supplement those provided by DLPack’s
DLDeviceTypeenumeration.MAINTAINERS NOTE #1: We need to ensure that the two devices are identified by the same integer. Currently this requires manual verification. Discussed here: dmlc/dlpack#111 As of DLPack v0.7, the highest-valued enumerator in
DLDeviceTypeis kDLHexagon = 16.MAINTAINERS NOTE #2: As of DLPack v0.7, the definition for
DLDeviceTypespecifies an underlying storage type ofint32_t. That guarantees a variable of typeDLDeviceTypeis capable of holding any integers provided by either of these enumerations.However, the
int32_tspecification only applies when the header file is compiled as C++, and this header file is also meant to work as C code. So the unspecified storage type could be a latent bug when compiled as C.Values:
-
enumerator TVMDeviceExtType_End#
-
enumerator TVMDeviceExtType_End#