Commit 305662f
authored
Default GPU_COUNT to 1 in cmake file (#2336)
Closes #2314
Rather than relying on the output from nvidia-smi, MG C++ tests will default to 1 GPU. This default can be overridden by the developer by calling `cmake` with the option: `-DGPU_COUNT=` and specifying the desired number of GPUs.
Note that the user can always run individual tests by directly calling `mpirun`. This only affects the default used by `ctest`, `make test` or `ninja test` to run the entire suite of tests.
Authors:
- Chuck Hastings (https://github.com/ChuckHastings)
Approvers:
- Rick Ratzel (https://github.com/rlratzel)
URL: #23361 parent 5ae30cc commit 305662f
1 file changed
+5
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
515 | | - | |
516 | | - | |
517 | | - | |
518 | | - | |
519 | | - | |
520 | | - | |
521 | | - | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
522 | 520 | | |
523 | 521 | | |
524 | 522 | | |
| |||
0 commit comments