Skip to content

Commit 1a9f631

Browse files
committed
Format.
Signed-off-by: JackAKirk <[email protected]>
1 parent dd5bc26 commit 1a9f631

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

sycl/include/sycl/ext/oneapi/experimental/builtins.hpp

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,7 @@ sycl::marray<bfloat16, N> fabs(sycl::marray<bfloat16, N> x) {
144144
std::memcpy(&res[i * 2], &partial_res, sizeof(uint32_t));
145145
}
146146

147-
if (N % 2)
148-
{
147+
if (N % 2) {
149148
res[N - 1] = bfloat16::from_bits(__clc_fabs(x[N - 1].raw()));
150149
}
151150
return res;
@@ -181,8 +180,7 @@ sycl::marray<bfloat16, N> fmin(sycl::marray<bfloat16, N> x,
181180
}
182181

183182

184-
if (N % 2)
185-
{
183+
if (N % 2) {
186184
res[N - 1] =
187185
bfloat16::from_bits(__clc_fmin(x[N - 1].raw(), y[N - 1].raw()));
188186
}
@@ -220,8 +218,7 @@ sycl::marray<bfloat16, N> fmax(sycl::marray<bfloat16, N> x,
220218
std::memcpy(&res[i * 2], &partial_res, sizeof(uint32_t));
221219
}
222220

223-
if (N % 2)
224-
{
221+
if (N % 2) {
225222
res[N - 1] =
226223
bfloat16::from_bits(__clc_fmax(x[N - 1].raw(), y[N - 1].raw()));
227224
}
@@ -261,8 +258,7 @@ sycl::marray<bfloat16, N> fma(sycl::marray<bfloat16, N> x,
261258
std::memcpy(&res[i * 2], &partial_res, sizeof(uint32_t));
262259
}
263260

264-
if (N % 2)
265-
{
261+
if (N % 2) {
266262
res[N - 1] = bfloat16::from_bits(
267263
__clc_fma(x[N - 1].raw(), y[N - 1].raw(), z[N - 1].raw()));
268264
}

0 commit comments

Comments
 (0)