This is an automated email from the ASF dual-hosted git repository.

tqchen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git


The following commit(s) were added to refs/heads/master by this push:
     new ec8f642  Fix three typos (#5620)
ec8f642 is described below

commit ec8f642c56d34cf7bb016803d3cab973b370e424
Author: Liyong Zeng <[email protected]>
AuthorDate: Tue May 19 22:10:01 2020 +0800

    Fix three typos (#5620)
    
    Co-authored-by: Zeng Liyong <[email protected]>
---
 include/tvm/runtime/c_backend_api.h | 6 +++---
 include/tvm/runtime/object.h        | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/tvm/runtime/c_backend_api.h 
b/include/tvm/runtime/c_backend_api.h
index 741b280..40cef83 100644
--- a/include/tvm/runtime/c_backend_api.h
+++ b/include/tvm/runtime/c_backend_api.h
@@ -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.
@@ -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
diff --git a/include/tvm/runtime/object.h b/include/tvm/runtime/object.h
index 7d912c5..51b1372 100644
--- a/include/tvm/runtime/object.h
+++ b/include/tvm/runtime/object.h
@@ -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).
  *

Reply via email to