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
Add del's to reductions. #5047
Add del's to reductions. #5047
Conversation
…s outside the thread loop.
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.
Thanks for the PR. This seems like it'd help with leaks (just by what's being done), can the MemoryLeakMixin
be used in a test to check for the leak being fixed? Would that work? I'm basically wondering how we programmatically check this fix. Thanks again!
numba/npyufunc/parfor.py
Outdated
# for v in redarrdict.values(): | ||
# lowerer.lower_inst(ir.Del(v.name, loc=loc)) | ||
|
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.
dead code?
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.
This is the code that made me want to look at the PR again. Want to make sure the leak appears to be gone. I also had the same question about how to test this and I don't know the answer. @stuartarchibald
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.
ah ok, thanks. I'll put working out how to test this on my TODOs, I'm sure we can come up with something, even if we have to write something new it'd probably prove quite useful.
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.
Removed those commented lines.
@stuartarchibald What are you waiting for me on this PR? |
I think this is just waiting for a test, which either you are I need to work out how to do :) ? |
This pull request is marked as stale as it has had no activity in the past 3 months. Please respond to this comment if you're still interested in working on this. Many thanks! |
Resolves #5003