You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tvm.apache.org by tqchen via Apache TVM Discuss <no...@discuss.tvm.ai> on 2021/03/02 14:43:34 UTC
[Apache TVM Discuss] [Development/RFC] [RFC] Rename TVMContext to
TVMDevice
How about we do a new round of poll given the new options. Everyone please share your thoughts
## A0
- Use DLDevice in C API
- Introduce tvm::runtime::Device in C++, alias of DLDevice for now, might add member functions(like runtime::DataType's relation to DLDataType) later
- Introduce tvm.runtime.Device on the python side
Consistency in API with `tf.Device` and `torch.Device`. Keep path for future C++ class that has more functionalities(with the same ABI)
## A1
- Directly DLDevice in C/C++/python API
Less aliasing. Require future update path for introducing Device class if needed.
---
[Visit Topic](https://discuss.tvm.apache.org/t/rfc-rename-tvmcontext-to-tvmdevice/9090/22) to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/d9e0cf732dbbeeb8065c013fc2b674ba1417959d6f0592ae4ee6a7a2db15d7d3).