-
Notifications
You must be signed in to change notification settings - Fork 769
[SYCL] Fix exception duplication for copy back command #14622
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
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
Signed-off-by: Tikhomirova, Kseniya <[email protected]>
in addition to description - I will create a task for proper handling of MemoryManager operations in enqueueImp for other commands. I am really confident current behavior with exceptions is not what we expect to have because it makes enqueueCommand error handling and reporting useless. |
would be better to merge #14145 first, so that I could easily update UT with ur api usage. |
it is been a week since this PR was approved and plugin interface removal is still not merged. I think there is no sense in waiting then. @intel/llvm-gatekeepers this PR is ready for merge, thanks |
we are going to merge #14145 today if you don't mind waiting a little longer |
cool, waiting. |
@intel/llvm-gatekeepers hi, this PR is ready for merge, thanks |
kernel_features_device_has_exceptions fails due to duplication of sync and async exceptions when command before copy back (copy back dependency) fails. This commit adds check if failed command is really some of copy back related commands or something already reported. Except from this it makes enqueueImp for mem copy host command handle exception instead of ignoring and bypassing (MemoryManager operations return void and throws exceptions) to enable proper enqueueCommand results handling. --------- Signed-off-by: Tikhomirova, Kseniya <[email protected]>
kernel_features_device_has_exceptions fails due to duplication of sync and async exceptions when command before copy back (copy back dependency) fails. This commit adds check if failed command is really some of copy back related commands or something already reported.
Except from this it makes enqueueImp for mem copy host command handle exception instead of ignoring and bypassing (MemoryManager operations return void and throws exceptions) to enable proper enqueueCommand results handling.