Updated tests to align with manager parameters update
This commit is contained in:
parent
aa25f980d6
commit
d7fe53eae6
8 changed files with 11 additions and 49 deletions
|
|
@ -13,7 +13,7 @@ TEST(TestOpTensorSync, SyncToDeviceMemorySingleTensor)
|
|||
|
||||
std::shared_ptr<kp::Tensor> tensorA{ new kp::Tensor(testVecPreA) };
|
||||
|
||||
mgr.rebuildTensors({ tensorA });
|
||||
mgr.rebuildTensors({ tensorA }, false);
|
||||
|
||||
EXPECT_TRUE(tensorA->isInit());
|
||||
|
||||
|
|
@ -37,7 +37,7 @@ TEST(TestOpTensorSync, SyncToDeviceMemoryMultiTensor)
|
|||
std::shared_ptr<kp::Tensor> tensorB{ new kp::Tensor({ 0, 0, 0 }) };
|
||||
std::shared_ptr<kp::Tensor> tensorC{ new kp::Tensor({ 0, 0, 0 }) };
|
||||
|
||||
mgr.rebuildTensors({ tensorA, tensorB, tensorC });
|
||||
mgr.rebuildTensors({ tensorA, tensorB, tensorC }, false);
|
||||
|
||||
EXPECT_TRUE(tensorA->isInit());
|
||||
EXPECT_TRUE(tensorB->isInit());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue