Skip to content

Commit

Permalink
docstring fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioLuporini committed Jun 29, 2017
1 parent 34994aa commit a5db600
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions devito/dle/backends/advanced.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ def _loop_blocking(self, state, **kwargs):
Blocking is applied to parallel iteration trees. Heuristically, innermost
dimensions are not blocked to maximize the trip count of the SIMD loops.
Different heuristics may be specified via ``kwargs['blockshape']`` and
``kwargs['blockinner']``. The former, a dictionary, is used to indicate
Different heuristics may be specified by passing the keywords ``blockshape``
and ``blockinner`` to the DLE. The former, a dictionary, is used to indicate
a specific block size for each blocked dimension. For example, for the
:class:`Iteration` tree: ::
Expand All @@ -113,7 +113,7 @@ def _loop_blocking(self, state, **kwargs):
for k
...
one may provide ``kwargs['blockshape'] = {i: 4, j: 7}``, in which case the
one may provide ``blockshape = {i: 4, j: 7}``, in which case the
two outer loops will blocked, and the resulting 2-dimensional block will
have size 4x7. The latter may be set to True to also block innermost parallel
:class:`Iteration` objects.
Expand Down
2 changes: 1 addition & 1 deletion devito/dle/blocking_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def __repr__(self):

@property
def ccode(self):
comment = c.Comment('This IterationFold is "hiding" ore or more Iterations')
comment = c.Comment('This IterationFold is "hiding" one or more Iterations')
code = super(IterationFold, self).ccode
return c.Module([comment, code])

Expand Down
2 changes: 1 addition & 1 deletion devito/dle/inspection.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def retrieve_iteration_tree(node, mode='normal'):
:param node: The searched Iteration/Expression tree.
:param mode: Accepted values are 'normal' (default) and 'superset', in which
case iteration trees that are subset of larget iteration trees
case iteration trees that are subset of larger iteration trees
are dropped.
"""
assert mode in ('normal', 'superset')
Expand Down

0 comments on commit a5db600

Please sign in to comment.