Skip to content

Commit 9429d3d

Browse files
committed
apply clang-format
1 parent 4a38d81 commit 9429d3d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

sycl/test-e2e/syclcompat/helloworld.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@
2929
#include <cstdlib>
3030
#include <iostream>
3131

32-
#define CHECK_MEMORY(ptr) \
33-
if ((ptr) == nullptr) { \
34-
std::cerr << "Failed to allocate memory: " << ( #ptr ) << "\n"; \
35-
exit(EXIT_FAILURE); \
32+
#define CHECK_MEMORY(ptr) \
33+
if ((ptr) == nullptr) { \
34+
std::cerr << "Failed to allocate memory: " << (#ptr) << "\n"; \
35+
exit(EXIT_FAILURE); \
3636
}
3737

3838
/**
@@ -118,7 +118,7 @@ int main(int argc, char **argv) {
118118
for (size_t i = 0; i < n_points; i++) {
119119
if (std::abs(h_Y[i] - h_expected[i]) >= 1e-6) {
120120
std::cerr << "Mismatch at index " << i << ": expected " << h_expected[i]
121-
<< ", but got " << h_Y[i] << "\n";
121+
<< ", but got " << h_Y[i] << "\n";
122122
exit(EXIT_FAILURE);
123123
}
124124
}

0 commit comments

Comments
 (0)