Updated tests to match new functions and added test to ensure seuqence is destroyed

This commit is contained in:
Alejandro Saucedo 2021-02-09 21:29:43 +00:00
parent 0d9a9758da
commit 4baba33681
11 changed files with 75 additions and 75 deletions

View file

@ -30,11 +30,11 @@ TEST(TestProcessingIterations, IterateThroughMultipleSumAndCopies)
}
)");
mgr.rebuildTensors({ tensorA, tensorB }, false);
mgr.rebuild({ tensorA, tensorB }, false);
{
std::shared_ptr<kp::Sequence> sq =
mgr.getOrCreateManagedSequence("default");
mgr.sequence("default");
sq->begin();
@ -47,7 +47,7 @@ TEST(TestProcessingIterations, IterateThroughMultipleSumAndCopies)
{
std::shared_ptr<kp::Sequence> sq =
mgr.getOrCreateManagedSequence("run");
mgr.sequence("run");
sq->begin();
@ -65,7 +65,7 @@ TEST(TestProcessingIterations, IterateThroughMultipleSumAndCopies)
{
std::shared_ptr<kp::Sequence> sq =
mgr.getOrCreateManagedSequence("export");
mgr.sequence("export");
sq->begin();