/*!
* \brief Backend function to allocate temporal workspace.
*
- * \note The result allocate spaced is ensured to be aligned to kTempAllocaAlignment.
+ * \note The result allocated space is ensured to be aligned to kTempAllocaAlignment.
*
* \param nbytes The size of the space requested.
* \param device_type The device type which the space will be allocated.
* Run f once and set handle to be not null.
* This function is mainly used for test purpose.
*
- * \param handle An global address to indicate f
- * \param f The function to be ran
+ * \param handle A global address to indicate f
+ * \param f The function to be run
* \param cdata The closure data to pass to the function.
* \param nbytes Number of bytes in the closure data.
* \return 0 when no error is thrown, -1 when failure happens
* The unique string identifier of tyep type.
* - _type_final:
* Whether the type is terminal type(there is no subclass of the type in the object system).
- * This field is automatically set by marco TVM_DECLARE_FINAL_OBJECT_INFO
+ * This field is automatically set by macro TVM_DECLARE_FINAL_OBJECT_INFO
* It is still OK to sub-class a terminal object type T and construct it using make_object.
* But IsInstance check will only show that the object type is T(instead of the sub-class).
*