Skip to content

Commit 3fcad9a

Browse files
committed
misc: Update comment
1 parent 35c2671 commit 3fcad9a

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

devito/__init__.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,11 @@ def reinit_compiler(val):
112112
# optimisations.
113113
configuration.add('safe-math', 0, [0, 1], preprocessor=bool, callback=reinit_compiler)
114114

115-
# Use any GPU present for parameters such as the padding by default. This can be
116-
# disabled by setting this parameter to `0`, but should not be toggled.
115+
# Use any GPU present on the node to set parameters such as the autopadding value.
116+
# This can be disabled by setting this parameter to `0`, but should not be toggled.
117+
# By setting the value to zero the user is promising that they will not try to use
118+
# the GPU at any point during the running of their script, this is useful when
119+
# iGPUs, APUs or disabled GPUs are present on a node.
117120
configuration.add('gpu', 1, [0, 1], preprocessor=bool)
118121

119122

0 commit comments

Comments
 (0)