Skip to content

Commit 5e55c1c

Browse files
committed
clang-format tests
Signed-off-by: James Brodman <[email protected]>
1 parent 634af84 commit 5e55c1c

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

sycl/test/on-device/defaultcontext/default.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ int main() {
2525

2626
assert(d1 == d2);
2727
assert(c1 == c2);
28-
28+
2929
return 0;
3030
}

sycl/test/on-device/defaultcontext/error.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ int main() {
1818

1919
auto Device = q.get_device();
2020
auto Platform = Device.get_platform();
21-
21+
2222
try {
23-
Platform.pop_default_context();
23+
Platform.pop_default_context();
2424
} catch (sycl::runtime_error) {
2525
return 0;
2626
}
27-
27+
2828
return -1;
2929
}

sycl/test/on-device/defaultcontext/pushpop.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@ int main() {
2121

2222
sycl::context NewContext(Device);
2323
Platform.push_default_context(NewContext);
24-
24+
2525
sycl::queue q2;
2626
auto C2 = q2.get_context();
2727
assert(C1 != C2);
2828
assert(C2 == NewContext);
2929

3030
Platform.pop_default_context();
31-
31+
3232
sycl::queue q3;
3333
auto C3 = q3.get_context();
34-
assert (C1 == C3);
35-
assert (C2 != C3);
36-
34+
assert(C1 == C3);
35+
assert(C2 != C3);
36+
3737
return 0;
3838
}

0 commit comments

Comments
 (0)