Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit fd822ce

Browse files
committed
clang-format
Signed-off-by: Vyacheslav N Klochkov <[email protected]>
1 parent 6f60e2e commit fd822ce

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

SYCL/ESIMD/PrefixSum.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ void cmk_acum_iterative(unsigned *buf, unsigned h_pos,
160160
cnt_table.select<1, 1, TUPLE_SZ, 1>(0, 0) +=
161161
cnt_table.select<1, 1, TUPLE_SZ, 1>(1, 0);
162162

163-
simd<unsigned, 8> voff(0, 1); // 0, 1, 2, 3
164-
simd_mask<8> p = voff < TUPLE_SZ; // predicate
163+
simd<unsigned, 8> voff(0, 1); // 0, 1, 2, 3
164+
simd_mask<8> p = voff < TUPLE_SZ; // predicate
165165
voff = (voff + (global_offset + stride_threads * TUPLE_SZ - TUPLE_SZ)) *
166166
sizeof(unsigned);
167167
scatter<unsigned, 8>(buf, voff, S.select<8, 1>(0), p);

SYCL/ESIMD/Prefix_Local_sum2.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ void cmk_acum_iterative(unsigned *buf, unsigned h_pos,
9393

9494
simd<unsigned, 8> result = 0;
9595
result.select<TUPLE_SZ, 1>(0) = sum;
96-
simd<unsigned, 8> voff(0, 1); // 0, 1, 2, 3
97-
simd_mask<8> p = voff < TUPLE_SZ; // predicate
96+
simd<unsigned, 8> voff(0, 1); // 0, 1, 2, 3
97+
simd_mask<8> p = voff < TUPLE_SZ; // predicate
9898
voff = (voff + (global_offset + stride_threads * TUPLE_SZ - TUPLE_SZ)) *
9999
sizeof(unsigned);
100100
scatter<unsigned, 8>(buf, voff, result, p);

SYCL/ESIMD/Prefix_Local_sum3.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ void cmk_acum_iterative(unsigned *buf, unsigned h_pos,
122122
cnt_table.select<1, 1, TUPLE_SZ, 1>(0, 0) +=
123123
cnt_table.select<1, 1, TUPLE_SZ, 1>(1, 0);
124124

125-
simd<unsigned, 8> voff(0, 1); // 0, 1, 2, 3
126-
simd_mask<8> p = voff < TUPLE_SZ; // predicate
125+
simd<unsigned, 8> voff(0, 1); // 0, 1, 2, 3
126+
simd_mask<8> p = voff < TUPLE_SZ; // predicate
127127
voff = (voff + (global_offset + stride_threads * TUPLE_SZ - TUPLE_SZ)) *
128128
sizeof(unsigned);
129129
scatter<unsigned, 8>(buf, voff, S.select<8, 1>(0), p);
@@ -173,8 +173,8 @@ void cmk_acum_iterative_low(unsigned *buf, unsigned h_pos,
173173
cnt_table.select<1, 1, TUPLE_SZ, 1>(0, 0) +=
174174
cnt_table.select<1, 1, TUPLE_SZ, 1>(1, 0);
175175

176-
simd<unsigned, 8> voff(0, 1); // 0, 1, 2, 3
177-
simd_mask<8> p = voff < TUPLE_SZ; // predicate
176+
simd<unsigned, 8> voff(0, 1); // 0, 1, 2, 3
177+
simd_mask<8> p = voff < TUPLE_SZ; // predicate
178178
voff = (voff + (global_offset + stride_threads * TUPLE_SZ - TUPLE_SZ)) *
179179
sizeof(unsigned);
180180
scatter<unsigned, 8>(buf, voff, S.select<8, 1>(0), p);

0 commit comments

Comments
 (0)