We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 118dc82 commit 25c9790Copy full SHA for 25c9790
sycl/source/detail/pi.cpp
@@ -79,6 +79,9 @@ bool bindPlugin(void *Library) {
79
80
decltype(::piPluginInit) *PluginInitializeFunction = (decltype(
81
&::piPluginInit))(getOsLibraryFuncAddress(Library, "piPluginInit"));
82
+ if (PluginInitializeFunction == nullptr)
83
+ return false;
84
+
85
int err = PluginInitializeFunction(&PluginInformation);
86
87
// TODO: Compare Supported versions and check for backward compatibility.
0 commit comments