Skip to content

Commit 1666ac4

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

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sycl/test/inline-asm/letter_example.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,14 @@ int main() {
2828
}
2929
q.submit([&](cl::sycl::handler &cgh) {
3030
cgh.parallel_for<kernel_name>(
31-
// clang-format off
31+
// 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__)
36+
// clang-format off
3637
int i = idx[0];
38+
// clang-format on
3739
asm volatile("{\n.decl V52 v_type=G type=d num_elts=16 align=GRF\n"
3840
"svm_gather.4.1 (M1, 16) %0.0 V52.0\n"
3941
"add(M1, 16) V52(0, 0)<1> V52(0, 0)<1; 1, 0> 0x1:w\n"

sycl/test/inline-asm/malloc_shared_32.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,8 @@ int main() {
3535

3636
q.submit([&](cl::sycl::handler &cgh) {
3737
cgh.parallel_for<kernel_name>(
38-
// clang-format off
3938
cl::sycl::range<1>(problem_size),
4039
[=](cl::sycl::id<1> idx) [[intel::reqd_sub_group_size(32)]] {
41-
// clang-format on
4240
int i = idx[0];
4341
#if defined(INLINE_ASM) && defined(__SYCL_DEVICE_ONLY__)
4442
asm volatile(R"a(

0 commit comments

Comments
 (0)