Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
loopy
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kaushik Kulkarni
loopy
Commits
b2c491b6
Commit
b2c491b6
authored
7 years ago
by
Andreas Klöckner
Browse files
Options
Downloads
Patches
Plain Diff
check_variable_access_ordered: Improve error message
parent
82dd34a2
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
loopy/check.py
+4
-2
4 additions, 2 deletions
loopy/check.py
with
4 additions
and
2 deletions
loopy/check.py
+
4
−
2
View file @
b2c491b6
...
@@ -514,8 +514,10 @@ def check_variable_access_ordered(kernel):
...
@@ -514,8 +514,10 @@ def check_variable_access_ordered(kernel):
"'
{writer_id}
'
which writes {var} and
"
"'
{writer_id}
'
which writes {var} and
"
"'
{other_id}
'
which also accesses {var}.
"
"'
{other_id}
'
which also accesses {var}.
"
"
Either add a (possibly indirect) dependency
"
"
Either add a (possibly indirect) dependency
"
"
between the two, or add one to the other
'
s nosync set
"
"
between the two, or add them to each others
'
nosync
"
"
to indicate that no ordering is intended.
"
"
set to indicate that no ordering is intended, or
"
"
turn off this check by setting the
"
"'
enforce_variable_access_ordered
'
option
"
.
format
(
.
format
(
writer_id
=
writer_id
,
writer_id
=
writer_id
,
other_id
=
other_id
,
other_id
=
other_id
,
...
...
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