Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pystencils_autodiff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
pycodegen
pystencils_autodiff
Commits
b1098c24
Commit
b1098c24
authored
5 years ago
by
Stephan Seitz
Browse files
Options
Downloads
Patches
Plain Diff
Extend docstring of _has_exclusive_writes
parent
6b857cff
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/pystencils_autodiff/autodiff.py
+2
-0
2 additions, 0 deletions
src/pystencils_autodiff/autodiff.py
with
2 additions
and
0 deletions
src/pystencils_autodiff/autodiff.py
+
2
−
0
View file @
b1098c24
...
@@ -25,6 +25,8 @@ def _has_exclusive_writes(assignment_collection):
...
@@ -25,6 +25,8 @@ def _has_exclusive_writes(assignment_collection):
Simple check for exclusive (non-overlapping) writes.
Simple check for exclusive (non-overlapping) writes.
I.e. AssignmentCollection can be executed safely in parallel without caring about race conditions.
I.e. AssignmentCollection can be executed safely in parallel without caring about race conditions.
No writes on same spatial location (considering all possible shifts).
No writes on same spatial location (considering all possible shifts).
The checked condition might be violated if using DiffModes.TRANSPOSED
"""
"""
assignments
=
assignment_collection
.
main_assignments
assignments
=
assignment_collection
.
main_assignments
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment