What is the role of TVM_BIND_THREAD?

hello!

I know that TVM_NUM_THREAD is set for cpu affinity. For example, Suppose the CPU has 8 cores. In this case, I know that 2 processes set TVM_NUM_THREAD = 4 and TVM_BIND_THREAD = 0 to use 4 CPUs each.

If the above method is correct, what is the role of TVM_BIND_THREAD?

I think it is the number of CPUs that can be shared, but is this correct?

TVM_NUM_THREADS sets the total number of threads to use

TVM_BIND_THREADS enables or disables thread affinity.

I didnt find any docs, but this thread may help understand:

2 Likes

thank you for the reply!