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: Singletonize special symbols (e.g. nthreads) #1650

Merged
merged 3 commits into from
Apr 8, 2021

Conversation

FabioLuporini
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Apr 1, 2021

Codecov Report

Merging #1650 (602ae81) into master (ea5c1f4) will decrease coverage by 20.93%.
The diff coverage is 52.05%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master    #1650       +/-   ##
===========================================
- Coverage   78.23%   57.30%   -20.94%     
===========================================
  Files         215      200       -15     
  Lines       32697    31200     -1497     
  Branches     4302     4103      -199     
===========================================
- Hits        25581    17878     -7703     
- Misses       6595    12747     +6152     
- Partials      521      575       +54     
Impacted Files Coverage Δ
devito/ir/iet/efunc.py 41.26% <0.00%> (-46.04%) ⬇️
devito/passes/iet/engine.py 94.84% <ø> (ø)
examples/seismic/viscoacoustic/wavesolver.py 24.71% <0.00%> (-75.29%) ⬇️
tests/test_caching.py 12.99% <8.00%> (-86.77%) ⬇️
tests/test_gpu_common.py 1.99% <10.00%> (+0.15%) ⬆️
tests/test_pickle.py 28.22% <12.50%> (-52.99%) ⬇️
tests/test_dle.py 18.20% <25.00%> (-75.10%) ⬇️
devito/builtins/arithmetic.py 65.45% <66.66%> (-14.55%) ⬇️
devito/types/basic.py 87.71% <72.72%> (-6.95%) ⬇️
devito/types/parallel.py 67.54% <78.57%> (-23.77%) ⬇️
... and 182 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ea5c1f4...602ae81. Read the comment docs.

@FabioLuporini FabioLuporini force-pushed the revisit-uniqueness branch 3 times, most recently from 71de00d to da97d99 Compare April 6, 2021 15:25
@@ -475,8 +476,8 @@ def test_composite_buffering_tasking_multi_output(self):
assert len([i for i in symbols if isinstance(i, Lock)]) == 2
threads = [i for i in symbols if isinstance(i, PThreadArray)]
assert len(threads) == 2
assert threads[0].size.data == 1
assert threads[1].size.data == 1
assert threads[0].size.size == 1
Copy link
Contributor

Choose a reason for hiding this comment

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

size.size ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it's not a user-level Constant anymore. It's a Scalar, with a maxsize associated

@FabioLuporini FabioLuporini merged commit 43788f3 into master Apr 8, 2021
@FabioLuporini FabioLuporini deleted the revisit-uniqueness branch April 8, 2021 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants