Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiler: Revert "compiler: Relax WaitLock regions in a ScheduleTree" #2141

Merged
merged 3 commits into from
Jun 8, 2023

Conversation

FabioLuporini
Copy link
Contributor

@FabioLuporini FabioLuporini commented Jun 8, 2023

This reverts commit 4a184e0.

Explanation: this was done only to change the profiling scope of the WaitLock regions . However, it turns out it breaks code generation in CUDA/HIP + streaming. Hence, reverting for now, until I will have the time to find a better solution

@FabioLuporini FabioLuporini added the bug-C bug in the generated code label Jun 8, 2023
@codecov
Copy link

codecov bot commented Jun 8, 2023

Codecov Report

Merging #2141 (fbeb0b3) into master (aedc3b9) will increase coverage by 0.02%.
The diff coverage is 16.00%.

@@            Coverage Diff             @@
##           master    #2141      +/-   ##
==========================================
+ Coverage   87.08%   87.10%   +0.02%     
==========================================
  Files         223      223              
  Lines       39830    39813      -17     
  Branches     5168     5166       -2     
==========================================
- Hits        34685    34679       -6     
+ Misses       4567     4556      -11     
  Partials      578      578              
Impacted Files Coverage Δ
devito/mpi/routines.py 93.18% <0.00%> (ø)
tests/test_gpu_common.py 1.47% <0.00%> (+0.01%) ⬆️
devito/ir/stree/algorithms.py 91.39% <44.44%> (+0.70%) ⬆️

... and 1 file with indirect coverage changes

@@ -1168,7 +1168,7 @@ def _as_number(self, v, args):
else:
assert self.target.c0.is_Array
assert args is not None
return int(v.subs(args))
return int(subs_op_args(v, args))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sympy 1.12 patch

@FabioLuporini FabioLuporini merged commit 9b9c45e into master Jun 8, 2023
@FabioLuporini FabioLuporini deleted the hotfix-sync-placement branch June 8, 2023 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-C bug in the generated code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant