-
Notifications
You must be signed in to change notification settings - Fork 769
[SYCL] Fix race that occurs when submitting to single queue in parallel #1872
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
[SYCL] Fix race that occurs when submitting to single queue in parallel #1872
Conversation
Signed-off-by: Alexander Flegontov <alexander.flegontov@intel.com>
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.
I believe we need a test for this case also.
Also, could you please develop a test for this? |
Signed-off-by: Alexander Flegontov <alexander.flegontov@intel.com>
Signed-off-by: Alexander Flegontov <alexander.flegontov@intel.com>
Signed-off-by: Alexander Flegontov <alexander.flegontov@intel.com>
…ther places where enqueue takes place Signed-off-by: Alexander Flegontov <alexander.flegontov@intel.com>
Signed-off-by: Alexander Flegontov <alexander.flegontov@intel.com>
Signed-off-by: Alexander Flegontov <alexander.flegontov@intel.com>
@s-kanaev , @romanovvlad I addressed your comments and applied as much as possible to pass all the Lit tests without fails and hangs. Could you please take a look and approve the current version of the patch? |
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.
Also we need a test for the case.
Just a reminder.
We already have a test for this, at the moment, which regresses on Linux and Windows and this patch fixes this problem. |
…eters in parallel Signed-off-by: Alexander Flegontov <alexander.flegontov@intel.com>
Signed-off-by: Alexander Flegontov <alexander.flegontov@intel.com>
Signed-off-by: Alexander Flegontov <alexander.flegontov@intel.com>
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
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.
Can a test be added?
@kbobrovs , We already have one regression test fails in our tests suit without this fix, and also I added an additional regression test in separate PR in our test suit, where I covered one case mentioned above as |
I could not find which test was failing in this PR. Would be good to mention then in the description. |
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.
program_manager-related part LGTM.
Signed-off-by: Alexander Flegontov <alexander.flegontov@intel.com>
@kbobrovs , Could you please take a look again and approve? |
@kbobrovs , ping |
@bader , Could you please merge? |
@alexanderfle, please, fix CI failures. |
@kbobrovs , ping |
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
@bader , ping |
This PR aims to fix the race when setting kernel parameters in parallel. That occurs when submitting to single queue by multiple threads.
Regression: queue submit. single queue
Signed-off-by: Alexander Flegontov alexander.flegontov@intel.com