Skip to content

Commit 9d62247

Browse files
committed
[SYCL] Format code
Signed-off-by: haonanya <[email protected]>
1 parent 1251e56 commit 9d62247

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sycl/test/devicelib/math_utils.hpp

+4-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ bool is_about_FP(T x, T y) {
77
// At least one input is nan
88
if (std::isnan(x) || std::isnan(y))
99
return std::isnan(x) && std::isnan(y);
10-
// At least one input is inf
10+
11+
// At least one input is inf
1112
else if (std::isinf(x) || std::isinf(y))
1213
return (x == y);
13-
// two finite
14+
15+
// two finite
1416
else {
1517
if (x != 0 && y != 0) {
1618
T max_v = std::fmax(std::abs(x), std::abs(y));

0 commit comments

Comments
 (0)