File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
source/adapters/level_zero Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ struct ur_device_handle_t_ : _ur_object {
61
61
ur_device_handle_t_ (ze_device_handle_t Device, ur_platform_handle_t Plt,
62
62
ur_device_handle_t ParentDevice = nullptr )
63
63
: ZeDevice{Device}, Platform{Plt}, RootDevice{ParentDevice},
64
- ZeDeviceProperties{}, ZeDeviceComputeProperties{} {
64
+ ZeDeviceProperties{}, ZeDeviceComputeProperties{}, Id(std::nullopt) {
65
65
// NOTE: one must additionally call initialize() to complete
66
66
// UR device creation.
67
67
}
@@ -229,5 +229,5 @@ struct ur_device_handle_t_ : _ur_object {
229
229
ZeOffsetToImageHandleMap;
230
230
231
231
// unique ephemeral identifer of the device in the adapter
232
- DeviceId Id;
232
+ std::optional< DeviceId> Id;
233
233
};
You can’t perform that action at this time.
0 commit comments