-
Notifications
You must be signed in to change notification settings - Fork 770
[SYCL] Unload libraries in jit_compiler and kernel_compiler_opencl destructors #16517
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
Changes from 3 commits
34b8c73
ce8cf49
16e9af9
c86ef55
b326642
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,7 @@ class jit_compiler { | |
|
||
private: | ||
jit_compiler(); | ||
~jit_compiler() = default; | ||
~jit_compiler(); | ||
jit_compiler(const jit_compiler &) = delete; | ||
jit_compiler(jit_compiler &&) = delete; | ||
jit_compiler &operator=(const jit_compiler &) = delete; | ||
|
@@ -98,6 +98,7 @@ class jit_compiler { | |
CompileSYCLFuncT CompileSYCLHandle = nullptr; | ||
ResetConfigFuncT ResetConfigHandle = nullptr; | ||
AddToConfigFuncT AddToConfigHandle = nullptr; | ||
void *MLibraryHandle = nullptr; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could this be a unique pointer as well, reusing the custom deleter from the newly-added unique pointer in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nit: The other members here don't carry the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done in c86ef55 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. title is slightly updated too. |
||
#endif // SYCL_EXT_JIT_ENABLE | ||
}; | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.