Skip to content

Commit 5f3fce6

Browse files
authored
[SYCL][NFC] Format for program_manager.cpp (#20822)
Signed-off-by: jinge90 <ge.jin@intel.com>
1 parent b1a75dd commit 5f3fce6

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

sycl/source/detail/program_manager/program_manager.cpp

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -402,12 +402,11 @@ static void appendCompileOptionsFromImage(std::string &CompileOpts,
402402
auto ColonPos = OptValue.find(":");
403403
auto Device = OptValue.substr(0, ColonPos);
404404
std::string BackendStrToAdd;
405-
bool IsPVC =
406-
std::all_of(Devs.begin(), Devs.end(), [&](device_impl &Dev) {
407-
return IsIntelGPU &&
408-
(Dev.get_info<ext::intel::info::device::device_id>() &
409-
0xFF00) == 0x0B00;
410-
});
405+
bool IsPVC = std::all_of(Devs.begin(), Devs.end(), [&](device_impl &Dev) {
406+
return IsIntelGPU &&
407+
(Dev.get_info<ext::intel::info::device::device_id>() & 0xFF00) ==
408+
0x0B00;
409+
});
411410
// Currently 'pvc' is the only supported device.
412411
if (Device == "pvc" && IsPVC)
413412
BackendStrToAdd = " " + OptValue.substr(ColonPos + 1) + " ";

0 commit comments

Comments
 (0)