-
Notifications
You must be signed in to change notification settings - Fork 769
[SYCL] Fix segmentation fault that occurs when creating host accessors in parallel #1597
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 segmentation fault that occurs when creating host accessors in parallel #1597
Conversation
…s in parallel Signed-off-by: Dmitry Vodopyanov <dmitry.vodopyanov@intel.com>
Signed-off-by: Dmitry Vodopyanov <dmitry.vodopyanov@intel.com>
Signed-off-by: Dmitry Vodopyanov <dmitry.vodopyanov@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.
It is not clear why it happens.
Is it because you are looking to late and release too early?
I do not remember this issue in triSYCL, even if there are currently some other problems.
Signed-off-by: Dmitry Vodopyanov <dmitry.vodopyanov@intel.com>
@keryell correct, this is typical data race caused by accessing data by one thread which was already released by another thread. Segmentation fault was happened on line 508 of cl_int Res = enqueueImp(); |
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
Signed-off-by: Dmitry Vodopyanov dmitry.vodopyanov@intel.com