Skip to content

Commit fb719e3

Browse files
committed
format
1 parent 10ec149 commit fb719e3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

sycl/include/sycl/ext/oneapi/bf16_storage_builtins.hpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ std::enable_if_t<detail::is_bf16_storage_type<T>::value, T> fabs(T x) {
4141
#ifdef __SYCL_DEVICE_ONLY__
4242
return __clc_fabs(x);
4343
#else
44-
(void) x;
44+
(void)x;
4545
throw runtime_error("bf16 is not supported on host device.",
4646
PI_INVALID_DEVICE);
4747
#endif
@@ -51,8 +51,8 @@ std::enable_if_t<detail::is_bf16_storage_type<T>::value, T> fmin(T x, T y) {
5151
#ifdef __SYCL_DEVICE_ONLY__
5252
return __clc_fmin(x, y);
5353
#else
54-
(void) x;
55-
(void) y;
54+
(void)x;
55+
(void)y;
5656
throw runtime_error("bf16 is not supported on host device.",
5757
PI_INVALID_DEVICE);
5858
#endif
@@ -62,8 +62,8 @@ std::enable_if_t<detail::is_bf16_storage_type<T>::value, T> fmax(T x, T y) {
6262
#ifdef __SYCL_DEVICE_ONLY__
6363
return __clc_fmax(x, y);
6464
#else
65-
(void) x;
66-
(void) y;
65+
(void)x;
66+
(void)y;
6767
throw runtime_error("bf16 is not supported on host device.",
6868
PI_INVALID_DEVICE);
6969
#endif
@@ -73,9 +73,9 @@ std::enable_if_t<detail::is_bf16_storage_type<T>::value, T> fma(T x, T y, T z) {
7373
#ifdef __SYCL_DEVICE_ONLY__
7474
return __clc_fma(x, y, z);
7575
#else
76-
(void) x;
77-
(void) y;
78-
(void) z;
76+
(void)x;
77+
(void)y;
78+
(void)z;
7979
throw runtime_error("bf16 is not supported on host device.",
8080
PI_INVALID_DEVICE);
8181
#endif

0 commit comments

Comments
 (0)