tkonolige commented on a change in pull request #7983:
URL: https://github.com/apache/tvm/pull/7983#discussion_r629532510



##########
File path: include/tvm/runtime/c_backend_api.h
##########
@@ -152,6 +152,16 @@ TVM_DLL int TVMBackendParallelBarrier(int task_id, 
TVMParallelGroupEnv* penv);
  */
 TVM_DLL int TVMBackendRunOnce(void** handle, int (*f)(void*), void* cdata, int 
nbytes);
 
+/*!
+ * \brief Reset the threads in the pool. All current threads are destroyed and
+ * new ones are created.
+ *
+ * Note that this does nothing when openmp is used.
+ *
+ * \return 0 when no error is thrown, -1 when failure happens
+ */

Review comment:
       done




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to