Skip to content

Commit

Permalink
Fix SyncToDeviceMemoryCopyRegion
Browse files Browse the repository at this point in the history
Signed-off-by: crydsch <[email protected]>
  • Loading branch information
Crydsch committed Aug 17, 2023
1 parent 41a2505 commit b51764d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/TestOpTensorSync.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ TEST(TestOpTensorSync, SyncToDeviceMemoryCopyRegion)
EXPECT_TRUE(tensorB->isInit());
EXPECT_TRUE(tensorC->isInit());

mgr.sequence()->eval<kp::OpTensorSyncDevice>({ tensorA, tensorB });

tensorA->setData(testVecPreA);
tensorC->setData(testVecC);

Expand Down

0 comments on commit b51764d

Please sign in to comment.