Property ThreadCount
ThreadCount
Gets or sets the most CPU threads one inference may use. Every CPU inference in the process draws its threads from one budget: the logical processors minus a small reserve, split equally among the inferences running together and never exceeded in total. This value caps what any one of them takes; a value at or below zero leaves the physical core count.
public static int ThreadCount { get; set; }
Property Value
- int
The default value is the number of physical cores available on the machine.