# HG changeset patch
# User Mahesh Pittala <[email protected]>
# Date 1450412779 -19800
# Fri Dec 18 09:56:19 2015 +0530
# Node ID edaf7565eebb213fb53a2e6e4e073ddaa7167576
# Parent 9c797a5915814a74663f4f1f4edf8a9fd17d5c42
threadpool: use all available threads on each NUMA node with --pools=NULL
option too
from x265.readthedocs, --pools = NULL, "", "*" are doing same functionality.
--pools="" & --pools="*" are using all threads but when we pass --pools=NULL,
disabled
all threads pools but supposed to enable.
diff -r 9c797a591581 -r edaf7565eebb source/common/threadpool.cpp
--- a/source/common/threadpool.cpp Thu Dec 10 21:37:01 2015 +0530
+++ b/source/common/threadpool.cpp Fri Dec 18 09:56:19 2015 +0530
@@ -277,7 +277,7 @@
}
else if (*nodeStr == '-')
threadsPerPool[i] = 0;
- else if (*nodeStr == '*')
+ else if (*nodeStr == '*' || !stricmp(nodeStr, "NULL"))
{
for (int j = i; j < numNumaNodes; j++)
{
_______________________________________________
x265-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/x265-devel