-
Notifications
You must be signed in to change notification settings - Fork 361
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use all cores by default in grdfilter (#8523)
* Let x option synopsis be printed in grdfilter independently of having OMP or not. * Let all 3 modules built with Glib use max number of cores by default like the OMP case. * Do not use multi-threads with -Ff (custom filter). It's broken. * Use API->n_cores instead of gmtlib_get_num_processors() to see if it pleases Mac * Do not use all cores by default in potential modules. Some tests are failing. Integrate the ideas of #8319 * Remove mention to -x option (not in current surface module). Variable filter width (grdfilter) does not support -x
- Loading branch information
Showing
8 changed files
with
37 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
**-x**\ [[-]\ *n*] :ref:`(more ...) <core_full>` | ||
Limit number of cores used in multi-threaded algorithms (OpenMP required). | ||
Limit number of cores used in multi-threaded algorithms. Multi-threaded behavior is enabled by default. | ||
That covers the modules that implement the OpenMP API (required at compiling stage) and GThreads (Glib) | ||
for the grdfilter module. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters