Updated tests to align with new sequence memory management workflow
This commit is contained in:
parent
473031d1f3
commit
e2f6e876bc
4 changed files with 54 additions and 46 deletions
|
|
@ -24,7 +24,7 @@ TEST(TestTensor, CopyFromHostData)
|
|||
kp::Manager mgr;
|
||||
|
||||
if (std::shared_ptr<kp::Sequence> sq =
|
||||
mgr.getOrCreateManagedSequence("new").lock()) {
|
||||
mgr.getOrCreateManagedSequence("new")) {
|
||||
sq->begin();
|
||||
|
||||
sq->record<kp::OpTensorCreate>({ tensorA, tensorB });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue