Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upgetDTthreads more robust #2708
getDTthreads more robust #2708
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2708 +/- ##
==========================================
- Coverage 93.33% 93.32% -0.01%
==========================================
Files 61 61
Lines 12220 12225 +5
==========================================
+ Hits 11405 11409 +4
- Misses 815 816 +1
Continue to review full report at Codecov.
|
Attempt 1 for #2707
If user calls
setDTthread(0)it was callingomp_set_num_threads()toomp_get_thread_limit()which wasINT_MAXby default. Relatively newfsortwas usingDTthreadswithout restriction, whereas usage elsewhere was typically limiting number of threads based on chunk size or similar.All usage of
omp_set.*removed and thegrepin CRAN_Release.cmd expanded to include openmp-utils.c, too.