X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmisc.cpp;h=1f543ea2eacf436fd9a394b144a778d943a8c45f;hp=d815c9c41fd3dd0ac4463cd1e1a23925a8c1d478;hb=1c50d8cbf554733c0db6ab423b413d75cc0c1928;hpb=2198cd0524574f0d9df8c0ec9aaf14ad8c94402b diff --git a/src/misc.cpp b/src/misc.cpp index d815c9c4..1f543ea2 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -293,14 +293,6 @@ int get_group(size_t idx) { void bindThisThread(size_t idx) { - // If OS already scheduled us on a different group than 0 then don't overwrite - // the choice, eventually we are one of many one-threaded processes running on - // some Windows NUMA hardware, for instance in fishtest. To make it simple, - // just check if running threads are below a threshold, in this case all this - // NUMA machinery is not needed. - if (Threads.size() < 8) - return; - // Use only local variables to be thread-safe int group = get_group(idx);