apeskov commented on a change in pull request #7877:
URL: https://github.com/apache/tvm/pull/7877#discussion_r615833856



##########
File path: include/tvm/auto_scheduler/measure.h
##########
@@ -444,10 +469,9 @@ class RPCRunner : public ProgramRunner {
    * \param cooldown_interval The cool down interval between two measurements.
    * \param enable_cpu_cache_flush Whether to flush cache on CPU between 
repeated measurements.
    */
-  RPCRunner(const String& key, const String& host, int port, int priority, int 
n_parallel,
-            int timeout, int number, int repeat, int min_repeat_ms, double 
cooldown_interval,
-            bool enable_cpu_cache_flush);
-
+  RPCRunner(PackedFunc submit_func, const String& key, const String& host, int 
port, int priority,

Review comment:
       This function is designed only for on host usage. PackedFunction is used 
here just to hold python object on native c++ level. There are no scenarios 
when this function will be transferred to device.




-- 
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