Number of threads used during auto-tunning

There is a config function in

from python side, we can set this by

tracker = tvm.rpc.connect_tracker(args.host, args.port)                 
remote = tracker.request(args.rpc_key)
config_func = remote.get_function('runtime.config_threadpool')

config_func(1, 1) # use 1 big core
config_func(1, 2) # use 2 big cores
config_func(-1, 1) # use 1 small core
config_func(-1, 2) # use 2 small cores

For auto-tuning, there is no interface for this. Maybe you can add these code after this line.

3 Likes