-
Notifications
You must be signed in to change notification settings - Fork 113
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
Avoid __brick_reverse
and __brick_reverse_copy
calls for empty source data
#1442
Merged
Conversation
This file contains 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
SergeyKopienko
force-pushed
the
dev/skopienko/reverse_pass_fix
branch
from
March 12, 2024 11:16
3e2e9c3
to
25c852f
Compare
SergeyKopienko
force-pushed
the
dev/skopienko/reverse_pass_fix
branch
from
March 12, 2024 14:37
f1ffb63
to
32800c5
Compare
…for empty source data
…for empty source data
…copy for empty source data
SergeyKopienko
force-pushed
the
dev/skopienko/reverse_pass_fix
branch
from
March 12, 2024 14:37
32800c5
to
e8879ac
Compare
SergeyKopienko
changed the title
Log exception info for
Fix error in Mar 12, 2024
reverse.pass
testreverse.pass
test for empty source data with reverse iterator
SergeyKopienko
changed the title
Fix error in
Avoid Mar 12, 2024
reverse.pass
test for empty source data with reverse iterator__brick_reverse
and __brick_reverse_copy
calls for empty source data
MikeDvorskiy
previously approved these changes
Mar 12, 2024
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.
LGTM
…d ';' in 'for' statement specifier
MikeDvorskiy
approved these changes
Mar 13, 2024
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.
LGTM
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.
Assertion happens in the
reverse.pass
test.It's reproduced on any C++ compiler on Windows
for CMake line
-DCMAKE_CXX_COMPILER=dpcpp-cl -DCMAKE_BUILD_TYPE=debug -DONEDPL_BACKEND=serial
The root cause is that we call
__brick_reverse
and__brick_reverse_copy
for empty source data in the parallel implementations for serial backend.