Skip to content

Commit 66810be

Browse files
author
Ruyman Reyes
committed
[SYCL] clang-format affected files
Signed-off-by: Ruyman Reyes <ruyman@codeplay.com>
1 parent 17480e0 commit 66810be

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

sycl/source/detail/platform_impl.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ static void filterAllowList(vector_class<RT::PiDevice> &PiDevices,
196196
PiDevices.resize(InsertIDx);
197197
}
198198

199-
200199
// @return True if the device is invalid for the current backend preferences
201200
static bool isDeviceInvalidForBe(const device &Device) {
202201

@@ -271,8 +270,8 @@ platform_impl::get_devices(info::device_type DeviceType) const {
271270
PiDevice, std::make_shared<platform_impl>(*this)));
272271
});
273272

274-
Res.erase(std::remove_if(Res.begin(), Res.end(), isDeviceInvalidForBe),
275-
Res.end());
273+
Res.erase(std::remove_if(Res.begin(), Res.end(), isDeviceInvalidForBe),
274+
Res.end());
276275

277276
return Res;
278277
}

sycl/source/device_selector.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ device device_selector::select_device() const {
6868
// preference to the device of the preferred BE.
6969
//
7070
if (score < dev_score ||
71-
(score == dev_score && isDeviceOfPreferredSyclBe(dev)
72-
&& dev_score != -1)) {
71+
(score == dev_score && isDeviceOfPreferredSyclBe(dev) &&
72+
dev_score != -1)) {
7373
res = &dev;
7474
score = dev_score;
7575
}

0 commit comments

Comments
 (0)