Skip to content

Commit adcd86e

Browse files
authored
docs: added notes about ntasks per gpu (#346)
just a minor addendum to the docs
1 parent 58d471d commit adcd86e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/further.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ rule gpu_task:
342342

343343
In this example, `cpus_per_gpu=4` allocates four CPU cores for each GPU requested.
344344

345-
.. note:: If `cpus_per_gpu` is set to a value less than or equal to zero, Snakemake will not include a CPU request in the SLURM submission, and the cluster's default CPU allocation policy will apply.
345+
.. note:: If `cpus_per_gpu` is set to a value less than or equal to zero, Snakemake will not include a CPU request in the SLURM submission, and the cluster's default CPU allocation policy will apply. The same applies to `tasks_per_gpu`. If set to zero or lower, the SLURM parameter `--ntasks-per-gpu` will not be set.
346346

347347
##### Sample Workflow Profile for GPU Jobs
348348

0 commit comments

Comments
 (0)