-
Notifications
You must be signed in to change notification settings - Fork 229
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
Conversation
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
71de00d
to
da97d99
Compare
@@ -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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
size.size ?
There was a problem hiding this comment.
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
da97d99
to
7b3888f
Compare
No description provided.