]> git.sesse.net Git - stockfish/blobdiff - src/misc.cpp
Do more aggressive pruning for some node types
[stockfish] / src / misc.cpp
index 294b7c8f85b78381748cdc55929742ade02c6e92..b46786dff08e0e98badfbbe1373a08d3979c8432 100644 (file)
@@ -515,7 +515,7 @@ int best_node(size_t idx) {
   if (!fun1)
       return -1;
 
-  // First call to GetLogicalProcessorInformationEx() to get returnLength. 
+  // First call to GetLogicalProcessorInformationEx() to get returnLength.
   // We expect the call to fail due to null buffer.
   if (fun1(RelationAll, nullptr, &returnLength))
       return -1;
@@ -589,13 +589,13 @@ void bindThisThread(size_t idx) {
   if (!fun2 || !fun3)
       return;
 
-  if (!fun4 || !fun5) 
+  if (!fun4 || !fun5)
   {
       GROUP_AFFINITY affinity;
       if (fun2(node, &affinity))                                                 // GetNumaNodeProcessorMaskEx
           fun3(GetCurrentThread(), &affinity, nullptr);                          // SetThreadGroupAffinity
-  } 
-  else 
+  }
+  else
   {
       // If a numa node has more than one processor group, we assume they are
       // sized equal and we spread threads evenly across the groups.