File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -107,8 +107,12 @@ namespace ze_lib
107107 loaderLibraryPath = readLevelZeroLoaderLibraryPath ();
108108 }
109109#endif
110- if (debugTraceEnabled)
111- debug_trace_message (" Static Loader Using Loader Library Path: " , loaderLibraryPath);
110+ if (debugTraceEnabled) {
111+ if (loaderLibraryPath.empty ())
112+ debug_trace_message (" Static Loader Using Loader Library Path: " , " Not set" );
113+ else
114+ debug_trace_message (" Static Loader Using Loader Library Path: " , loaderLibraryPath);
115+ }
112116 std::string loaderFullLibraryPath = create_library_path (MAKE_LIBRARY_NAME ( " ze_loader" , L0_LOADER_VERSION ), loaderLibraryPath.c_str ());
113117 loader = LOAD_DRIVER_LIBRARY (loaderFullLibraryPath.c_str ());
114118
Original file line number Diff line number Diff line change @@ -643,8 +643,12 @@ namespace loader
643643 loaderLibraryPath = readLevelZeroLoaderLibraryPath ();
644644 }
645645#endif
646- if (debugTraceEnabled)
647- debug_trace_message (" Using Loader Library Path: " , loaderLibraryPath);
646+ if (debugTraceEnabled) {
647+ if (loaderLibraryPath.empty ())
648+ debug_trace_message (" Using Loader Library Path: " , " Not set" );
649+ else
650+ debug_trace_message (" Using Loader Library Path: " , loaderLibraryPath);
651+ }
648652
649653 if (debugTraceEnabled && driverDDIPathDefault) {
650654 debug_trace_message (" DDI Driver Extension Path is Enabled" , " " );
You can’t perform that action at this time.
0 commit comments