Skip to content
Snippets Groups Projects
Commit b2c491b6 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

check_variable_access_ordered: Improve error message

parent 82dd34a2
No related branches found
No related tags found
No related merge requests found
...@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment