diff --git a/unified-runtime/source/adapters/level_zero/program.cpp b/unified-runtime/source/adapters/level_zero/program.cpp index af5c7fb005458..8f5771c891309 100644 --- a/unified-runtime/source/adapters/level_zero/program.cpp +++ b/unified-runtime/source/adapters/level_zero/program.cpp @@ -1036,15 +1036,15 @@ ur_program_handle_t_::ur_program_handle_t_(ur_context_handle_t Context) ur_program_handle_t_::ur_program_handle_t_(state, ur_context_handle_t Context, ze_module_handle_t InteropZeModule) : Context{Context}, NativeProperties{nullptr}, OwnZeModule{true}, - AssociatedDevices({Context->getDevices()[0]}), InteropZeModule{ - InteropZeModule} {} + AssociatedDevices({Context->getDevices()[0]}), + InteropZeModule{InteropZeModule} {} ur_program_handle_t_::ur_program_handle_t_(state, ur_context_handle_t Context, ze_module_handle_t InteropZeModule, bool OwnZeModule) : Context{Context}, NativeProperties{nullptr}, OwnZeModule{OwnZeModule}, - AssociatedDevices({Context->getDevices()[0]}), InteropZeModule{ - InteropZeModule} { + AssociatedDevices({Context->getDevices()[0]}), + InteropZeModule{InteropZeModule} { // TODO: Currently it is not possible to understand the device associated // with provided ZeModule. So we can't set the state on that device to Exe. } diff --git a/unified-runtime/source/loader/layers/sanitizer/tsan/tsan_interceptor.cpp b/unified-runtime/source/loader/layers/sanitizer/tsan/tsan_interceptor.cpp index 0ff996ab4c257..3e9b9fbdcdbd3 100644 --- a/unified-runtime/source/loader/layers/sanitizer/tsan/tsan_interceptor.cpp +++ b/unified-runtime/source/loader/layers/sanitizer/tsan/tsan_interceptor.cpp @@ -116,7 +116,8 @@ ur_result_t TsanInterceptor::registerProgram(ur_program_handle_t Program) { return UR_RESULT_SUCCESS; } -ur_result_t TsanInterceptor::registerDeviceGlobals(ur_program_handle_t Program) { +ur_result_t +TsanInterceptor::registerDeviceGlobals(ur_program_handle_t Program) { std::vector Devices = GetDevices(Program); assert(Devices.size() != 0 && "No devices in registerDeviceGlobals"); auto Context = GetContext(Program);