Function MSContextSetThreadAffinityMode

Function Documentation

void MSContextSetThreadAffinityMode(MSContextHandle context, int mode)

Set the thread affinity to CPU cores.

Parameters
  • context[in] Context object handle.

  • mode[in] 0: no affinities, 1: big cores first, 2: little cores first