-
Notifications
You must be signed in to change notification settings - Fork 787
[SYCL][L0] Implement Plugin Lifetime Management #2942
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
This PR implements the Sycl Lifetime management. It allows Sycl RT to init / deinit plguins many times. It also provide opportunity to manage global variables used in plugin PIs. Signed-off-by: Byoungro So <[email protected]>
Signed-off-by: Byoungro So <[email protected]>
Signed-off-by: Byoungro So <[email protected]>
Signed-off-by: Byoungro So <[email protected]>
Signed-off-by: Byoungro So <[email protected]>
@smaslov-intel @romanovvlad @alexbatashev |
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.
Would be great to have some testing and a brief design overview here: https://github.com/intel/llvm/blob/sycl/sycl/doc/GlobalObjectsInRuntime.md
I will write something based on my design doc (ppt) today. |
Signed-off-by: Byoungro So <[email protected]>
Co-authored-by: Alexander Batashev <[email protected]>
Co-authored-by: Romanov Vlad <[email protected]>
Co-authored-by: Romanov Vlad <[email protected]>
Co-authored-by: Romanov Vlad <[email protected]>
Signed-off-by: Byoungro So <[email protected]>
Signed-off-by: Byoungro So <[email protected]>
Signed-off-by: Byoungro So <[email protected]>
Signed-off-by: Byoungro So <[email protected]>
Signed-off-by: Byoungro So <[email protected]>
Signed-off-by: Byoungro So <[email protected]>
Signed-off-by: Byoungro So <[email protected]>
Co-authored-by: Romanov Vlad <[email protected]>
Co-authored-by: Romanov Vlad <[email protected]>
Co-authored-by: Romanov Vlad <[email protected]>
Signed-off-by: Byoungro So <[email protected]>
Co-authored-by: Romanov Vlad <[email protected]>
Co-authored-by: Romanov Vlad <[email protected]>
@smaslov-intel Please review. |
Signed-off-by: Byoungro So <[email protected]>
plugin. piTearDown() is going to perform any necessary tear-down process at the | ||
plugin PI level. These two APIs allow on-demand plugin lifetime management. SYCL | ||
RT can control the beginning and the end of the plugin. | ||
 |
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.
Could you please add arrow with piPluginInit label, which goes from "Plugin Interface" to "Plugin", it should correspond to "bind plugin" arrow?
Also, could you please rename "destory plugin" to piTearDown?
Co-authored-by: Romanov Vlad <[email protected]>
Signed-off-by: Byoungro So <[email protected]>
…nto plugin-lifetime
Signed-off-by: Byoungro So <[email protected]>
The failure in Jenkins/Precommit is not caused by my changeset. |
Thank you very much, Vlad. |
This PR implements the Sycl Lifetime management.
It allows Sycl RT to init / deinit plguins many times.
It also provide opportunity to manage global variables used in plugin PIs.
Signed-off-by: Byoungro So [email protected]