Skip to content

Commit

Permalink
Fix three typos (#5620)
Browse files Browse the repository at this point in the history
Co-authored-by: Zeng Liyong <[email protected]>
  • Loading branch information
littlefish0123 and Zeng Liyong authored May 19, 2020
1 parent 603965d commit ec8f642
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions include/tvm/runtime/c_backend_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ TVM_DLL int TVMBackendRegisterSystemLibSymbol(const char* name, void* ptr);
/*!
* \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.
Expand Down Expand Up @@ -142,8 +142,8 @@ TVM_DLL int TVMBackendParallelBarrier(int task_id, TVMParallelGroupEnv* penv);
* 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
Expand Down
2 changes: 1 addition & 1 deletion include/tvm/runtime/object.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ struct TypeIndex {
* 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).
*
Expand Down

0 comments on commit ec8f642

Please sign in to comment.