Skip to content

Commit 16cfb22

Browse files
committed
pre-commit
1 parent b441208 commit 16cfb22

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

libsyclinterface/source/dpctl_sycl_queue_interface.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -742,9 +742,9 @@ DPCTLQueue_CopyDataWithEvents(__dpctl_keep const DPCTLSyclQueueRef QRef,
742742
}
743743

744744
// Bind queue::copy with uint8_t so Count is interpreted as bytes.
745-
auto ev = Q->copy(static_cast<const std::uint8_t *>(Src),
746-
static_cast<std::uint8_t *>(Dest), Count,
747-
dep_events);
745+
auto ev =
746+
Q->copy(static_cast<const std::uint8_t *>(Src),
747+
static_cast<std::uint8_t *>(Dest), Count, dep_events);
748748
return wrap<event>(new event(std::move(ev)));
749749
} catch (const std::exception &ex) {
750750
error_handler(ex, __FILE__, __func__, __LINE__);

libsyclinterface/tests/test_sycl_queue_interface.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,8 @@ TEST(TestDPCTLSyclQueueInterface, CheckMemOpsZeroQRef)
374374
ASSERT_NO_FATAL_FAILURE(ERef = DPCTLQueue_CopyData(QRef, p1, p2, n_bytes));
375375
ASSERT_FALSE(bool(ERef));
376376

377-
ASSERT_NO_FATAL_FAILURE(ERef = DPCTLQueue_CopyDataWithEvents(
378-
QRef, p1, p2, n_bytes, NULL, 0));
377+
ASSERT_NO_FATAL_FAILURE(
378+
ERef = DPCTLQueue_CopyDataWithEvents(QRef, p1, p2, n_bytes, NULL, 0));
379379
ASSERT_FALSE(bool(ERef));
380380

381381
ASSERT_NO_FATAL_FAILURE(ERef = DPCTLQueue_Prefetch(QRef, p1, n_bytes));
@@ -439,8 +439,8 @@ TEST_P(TestDPCTLQueueMemberFunctions, CheckMemOpsNullPtr)
439439
ASSERT_NO_FATAL_FAILURE(ERef = DPCTLQueue_CopyData(QRef, p1, p2, n_bytes));
440440
ASSERT_FALSE(bool(ERef));
441441

442-
ASSERT_NO_FATAL_FAILURE(ERef = DPCTLQueue_CopyDataWithEvents(
443-
QRef, p1, p2, n_bytes, NULL, 0));
442+
ASSERT_NO_FATAL_FAILURE(
443+
ERef = DPCTLQueue_CopyDataWithEvents(QRef, p1, p2, n_bytes, NULL, 0));
444444
ASSERT_FALSE(bool(ERef));
445445

446446
ASSERT_NO_FATAL_FAILURE(ERef = DPCTLQueue_Prefetch(QRef, p1, n_bytes));

0 commit comments

Comments
 (0)