Skip to content

Commit b11a4d9

Browse files
committed
clang fix
1 parent 0fc31a4 commit b11a4d9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

sycl/unittests/queue/GetProfilingInfo.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ TEST(GetProfilingInfo, command_exception_check) {
139139
FAIL();
140140
} catch (sycl::exception &e) {
141141
EXPECT_STREQ(e.what(), "get_profiling_info() can't be used without set "
142-
"'enable_profiling' queue property");
142+
"'enable_profiling' queue property");
143143
}
144144
}
145145
{
@@ -249,8 +249,8 @@ TEST(GetProfilingInfo, check_if_now_dead_queue_property_not_set) {
249249
}
250250
{
251251
try {
252-
auto submit_time =
253-
event.get_profiling_info<sycl::info::event_profiling::command_submit>();
252+
auto submit_time = event.get_profiling_info<
253+
sycl::info::event_profiling::command_submit>();
254254
(void)submit_time;
255255
FAIL();
256256
} catch (sycl::exception &e) {
@@ -261,7 +261,8 @@ TEST(GetProfilingInfo, check_if_now_dead_queue_property_not_set) {
261261
{
262262
try {
263263
auto start_time =
264-
event.get_profiling_info<sycl::info::event_profiling::command_start>();
264+
event
265+
.get_profiling_info<sycl::info::event_profiling::command_start>();
265266
(void)start_time;
266267
FAIL();
267268
} catch (sycl::exception &e) {

0 commit comments

Comments
 (0)