Skip to content

Commit b51764d

Browse files
committed
Fix SyncToDeviceMemoryCopyRegion
Signed-off-by: crydsch <[email protected]>
1 parent 41a2505 commit b51764d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/TestOpTensorSync.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ TEST(TestOpTensorSync, SyncToDeviceMemoryCopyRegion)
7272
EXPECT_TRUE(tensorB->isInit());
7373
EXPECT_TRUE(tensorC->isInit());
7474

75+
mgr.sequence()->eval<kp::OpTensorSyncDevice>({ tensorA, tensorB });
76+
7577
tensorA->setData(testVecPreA);
7678
tensorC->setData(testVecC);
7779

0 commit comments

Comments
 (0)