We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d85acb7 commit d15de0bCopy full SHA for d15de0b
sycl/source/detail/pi.cpp
@@ -217,9 +217,13 @@ vector_class<plugin> initialize() {
217
PiPlugin PluginInformation; // TODO: include.
218
for (unsigned int I = 0; I < PluginNames.size(); I++) {
219
void *Library = loadPlugin(PluginNames[I]);
220
- if (!Library && EnableTrace) {
221
- std::cerr << "Check if plugin is present. Failed to load plugin: "
222
- << PluginNames[I] << std::endl;
+
+ if (!Library) {
+ if (EnableTrace) {
223
+ std::cerr << "Check if plugin is present. Failed to load plugin: "
224
+ << PluginNames[I] << std::endl;
225
+ }
226
+ continue;
227
}
228
229
if (!bindPlugin(Library, &PluginInformation) && EnableTrace) {
0 commit comments