Repository navigation
Conversation
Contributor
|
I really like this change coming. Though, I will keep a close eye on performance as making |
github-merge-queue Bot
pushed a commit
that referenced
this pull request
Mar 17, 2025
This PR is to assist #4176. That PR makes `toSymEntry` a throwing function. Unfortunately, in the histogram code, there are some nested foralls which are subject to [an existing bug in the Chapel compiler](chapel-lang/chapel#26912) that gets exposed by making `toSymEntry` a throwing function. This PR adjusts the histogram code to avoid that bug. In general, the change here shouldn't be seen as a workaround, although the implementation could still be less than ideal. When you have nested `forall`s, in almost all cases, the outer one will grab all the cores in the system, forcing the inner one to be sequential one. Where this PR makes changes, it feels way more important for the inner loop to execute in parallel compared to the outer one. Therefore, I expect the change here to be an improvement for performance as well. Signed-off-by: Engin Kayraklioglu <[email protected]>
ajpotts
force-pushed
the
4173_zeros_fails_when_max_bits_argument_is_used_pt1
branch
from
March 17, 2025 17:45
3036e1e to
8e12b52
Compare
ajpotts
marked this pull request as ready for review
March 17, 2025 17:52
ajpotts
force-pushed
the
4173_zeros_fails_when_max_bits_argument_is_used_pt1
branch
from
March 17, 2025 18:03
8e12b52 to
de19892
Compare
jaketrookman
approved these changes
Mar 17, 2025
1RyanK
approved these changes
Mar 18, 2025
ajpotts
added this pull request to the merge queue
Mar 18, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Remove
try!intoSymEntrybecause it kills the server instead of throwing an Error.Closes #4175: remove try! in toSymEntry