Skip to content

[SYCL] Store stream offset in flush buffer's memory #2767

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

Conversation

mlychkov
Copy link
Contributor

Flush buffer's offset is not shared between copies of stream object.
It may lead to a loss or double printing of work items' statements
written in one of copied stream objects.
Use two first bytes of work item's flush buffer for storing buffer's
offset to share it between copies of stream object.

Signed-off-by: Mikhail Lychkov [email protected]

@mlychkov mlychkov requested a review from a team as a code owner November 12, 2020 16:06
@intel intel deleted a comment from mlychkov Nov 12, 2020
mlychkov and others added 13 commits November 28, 2020 06:47
Flush buffer's offset is not shared between copies of stream object.
It may lead to a loss or double printing of work items' statements
written in one of copied stream objects.
Use two first bytes of work item's flush buffer for storing buffer's
offset to share it between copies of stream object.

Signed-off-by: Mikhail Lychkov <[email protected]>
Signed-off-by: Mikhail Lychkov <[email protected]>
Signed-off-by: Mikhail Lychkov <[email protected]>
Signed-off-by: Mikhail Lychkov <[email protected]>
Signed-off-by: Mikhail Lychkov <[email protected]>
Signed-off-by: Mikhail Lychkov <[email protected]>
@mlychkov mlychkov force-pushed the private/mlychkov/share_stream_offset_between_copies branch from cf5d6b1 to 5d948a2 Compare November 28, 2020 03:52
Signed-off-by: Mikhail Lychkov <[email protected]>
@s-kanaev
Copy link
Contributor

s-kanaev commented Dec 1, 2020

/summary:run

@s-kanaev
Copy link
Contributor

s-kanaev commented Dec 1, 2020

@againull , friendly ping.

@againull againull merged commit 8d37cba into intel:sycl Dec 2, 2020
@mlychkov mlychkov deleted the private/mlychkov/share_stream_offset_between_copies branch March 11, 2021 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants