Skip to content

Commit 9ff48ff

Browse files
authored
[UR][NFC] Run formatter (#17737)
Looks like this slipped through the cracks and wasn't formatted.
1 parent 5987b9a commit 9ff48ff

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

unified-runtime/source/adapters/level_zero/program.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,15 +1036,15 @@ ur_program_handle_t_::ur_program_handle_t_(ur_context_handle_t Context)
10361036
ur_program_handle_t_::ur_program_handle_t_(state, ur_context_handle_t Context,
10371037
ze_module_handle_t InteropZeModule)
10381038
: Context{Context}, NativeProperties{nullptr}, OwnZeModule{true},
1039-
AssociatedDevices({Context->getDevices()[0]}), InteropZeModule{
1040-
InteropZeModule} {}
1039+
AssociatedDevices({Context->getDevices()[0]}),
1040+
InteropZeModule{InteropZeModule} {}
10411041

10421042
ur_program_handle_t_::ur_program_handle_t_(state, ur_context_handle_t Context,
10431043
ze_module_handle_t InteropZeModule,
10441044
bool OwnZeModule)
10451045
: Context{Context}, NativeProperties{nullptr}, OwnZeModule{OwnZeModule},
1046-
AssociatedDevices({Context->getDevices()[0]}), InteropZeModule{
1047-
InteropZeModule} {
1046+
AssociatedDevices({Context->getDevices()[0]}),
1047+
InteropZeModule{InteropZeModule} {
10481048
// TODO: Currently it is not possible to understand the device associated
10491049
// with provided ZeModule. So we can't set the state on that device to Exe.
10501050
}

unified-runtime/source/loader/layers/sanitizer/tsan/tsan_interceptor.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ ur_result_t TsanInterceptor::registerProgram(ur_program_handle_t Program) {
116116
return UR_RESULT_SUCCESS;
117117
}
118118

119-
ur_result_t TsanInterceptor::registerDeviceGlobals(ur_program_handle_t Program) {
119+
ur_result_t
120+
TsanInterceptor::registerDeviceGlobals(ur_program_handle_t Program) {
120121
std::vector<ur_device_handle_t> Devices = GetDevices(Program);
121122
assert(Devices.size() != 0 && "No devices in registerDeviceGlobals");
122123
auto Context = GetContext(Program);

0 commit comments

Comments
 (0)