@@ -103,22 +103,22 @@ struct ur_program_handle_t_ : _ur_object {
103
103
AssociatedDevices (Context->getDevices ()) {}
104
104
105
105
// Construct a program in Exe or Invalid state.
106
- ur_program_handle_t_ ([[maybe_unused]] state St , ur_context_handle_t Context,
106
+ ur_program_handle_t_ (state, ur_context_handle_t Context,
107
107
ze_module_handle_t InteropZeModule)
108
108
: Context{Context}, NativeProperties{nullptr }, OwnZeModule{true },
109
- AssociatedDevices ({Context->getDevices ()[0 ]}), InteropZeModule{
110
- InteropZeModule} {}
109
+ AssociatedDevices ({Context->getDevices ()[0 ]}),
110
+ InteropZeModule{ InteropZeModule} {}
111
111
112
112
// Construct a program in Exe state (interop).
113
113
// TODO: Currently it is not possible to get the device associated with the
114
114
// interop module, API must be changed to either get that info from the user
115
115
// or new API need to be added to L0 to fetch that info. Consider it
116
116
// associated with the first device in the context.
117
- ur_program_handle_t_ ([[maybe_unused]] state St , ur_context_handle_t Context,
117
+ ur_program_handle_t_ (state, ur_context_handle_t Context,
118
118
ze_module_handle_t InteropZeModule, bool OwnZeModule)
119
119
: Context{Context}, NativeProperties{nullptr }, OwnZeModule{OwnZeModule},
120
- AssociatedDevices ({Context->getDevices ()[0 ]}), InteropZeModule{
121
- InteropZeModule} {
120
+ AssociatedDevices ({Context->getDevices ()[0 ]}),
121
+ InteropZeModule{ InteropZeModule} {
122
122
// TODO: Currently it is not possible to understand the device associated
123
123
// with provided ZeModule. So we can't set the state on that device to Exe.
124
124
}
0 commit comments