diff --git a/test/TestOpTensorSync.cpp b/test/TestOpTensorSync.cpp index 7ffad702..63a6dddd 100644 --- a/test/TestOpTensorSync.cpp +++ b/test/TestOpTensorSync.cpp @@ -72,6 +72,8 @@ TEST(TestOpTensorSync, SyncToDeviceMemoryCopyRegion) EXPECT_TRUE(tensorB->isInit()); EXPECT_TRUE(tensorC->isInit()); + mgr.sequence()->eval({ tensorA, tensorB }); + tensorA->setData(testVecPreA); tensorC->setData(testVecC);