Skip to content

Commit f4fbcb0

Browse files
committed
Correct Formating
Signed-off-by: Aleksander Fadeev <[email protected]>
1 parent 5afddf6 commit f4fbcb0

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

sycl/test/inline-asm/include/asmhelper.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,13 @@ bool isInlineASMSupported(sycl::device Device) {
8484
return true;
8585
}
8686

87-
auto exception_handler = [] (sycl::exception_list exceptions) {
88-
for (std::exception_ptr const& e : exceptions) {
87+
auto exception_handler = [](sycl::exception_list exceptions) {
88+
for (std::exception_ptr const &e : exceptions) {
8989
try {
90-
std::rethrow_exception(e);
91-
} catch(sycl::exception const& e) {
92-
std::cout << "Caught asynchronous SYCL exception:\n"
93-
<< e.what() << std::endl;
90+
std::rethrow_exception(e);
91+
} catch(sycl::exception const &e) {
92+
std::cout << "Caught asynchronous SYCL exception:\n"
93+
<< e.what() << std::endl;
9494
}
9595
}
9696
};

sycl/test/inline-asm/negative_tests/asm_missing_label.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ int main() {
3131
std::string what = e.what();
3232
// TODO: check for precise exception class and message once they are known
3333
// (pending driver update)
34-
if (what.find("OpenCL API failed") != std::string::npos) {
34+
if (what.find("OpenCL API failed") != std::string::npos) {
3535
return 0;
3636
}
3737
}

0 commit comments

Comments
 (0)