Skip to content

Commit 0ef28da

Browse files
committed
fix Clang-format issues
Signed-off-by: Soumi Manna <[email protected]>
1 parent 80bdcb0 commit 0ef28da

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

sycl/test/inline-asm/letter_example.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ int main() {
3131
// clang-format off
3232
cl::sycl::range<1>(problem_size),
3333
[=](cl::sycl::id<1> idx) [[intel::reqd_sub_group_size(16)]] {
34-
// clang-format on
34+
// clang-format on
3535
#if defined(INLINE_ASM) && defined(__SYCL_DEVICE_ONLY__)
3636
int i = idx[0];
3737
asm volatile("{\n.decl V52 v_type=G type=d num_elts=16 align=GRF\n"
@@ -41,9 +41,7 @@ int main() {
4141
:
4242
: "rw"(&a[i]));
4343
#else
44-
// clang-format off
4544
a[idx[0]]++;
46-
// clang-format on
4745
#endif
4846
});
4947
}).wait();

sycl/test/inline-asm/malloc_shared_32.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ int main() {
5858
svm_scatter.4.1 (M1, 16) %0.0 V52.0
5959
svm_scatter.4.1 (M1, 16) %1.0 V53.0
6060
}
61+
// clang-format off
6162
)a" ::"rw"(&b[i]),
62-
// clang-format off
6363
"rw"(&b[i] + 16), "rw"(&a[i]), "rw"(&a[i] + 16), "rw"(&c[i]),
6464
"rw"(&c[i] + 16));
6565
#else

0 commit comments

Comments
 (0)