input.model_id = model.id;
EXPECT_GE (api->runInput (&input), 0);
-
+ EXPECT_EQ (api->deregisterModel (model.id), 0);
EXPECT_EQ (api->dealloc (model_dmabuf), 0);
EXPECT_EQ (api->dealloc (buffer_dmabuf), 0);
}
input.timeout_ms = 100;
EXPECT_GE (api->runInput (&input), 0);
-
EXPECT_EQ (api->munmap (buf, size), 0);
+ EXPECT_EQ (api->deregisterModel (model.id), 0);
EXPECT_EQ (api->dealloc (model_dmabuf), 0);
EXPECT_EQ (api->dealloc (buffer_dmabuf), 0);
}
EXPECT_GE (f_ret.get(), 0);
EXPECT_EQ (api->munmap (buf, size), 0);
+ EXPECT_EQ (api->deregisterModel (model.id), 0);
EXPECT_EQ (api->dealloc (model_dmabuf), 0);
EXPECT_EQ (api->dealloc (buffer_dmabuf), 0);
}
EXPECT_GE (api->runInput (&input), 0);
EXPECT_EQ (api->munmap (buf, size), 0);
+ EXPECT_EQ (api->deregisterModel (model.id), 0);
EXPECT_EQ (api->dealloc (model.dbuf_fd), 0);
EXPECT_EQ (api->dealloc (buffer_dmabuf), 0);
}
input.timeout_ms = 100;
EXPECT_EQ (api->runInput (&input), -EINVAL);
+ EXPECT_EQ (api->deregisterModel (model.id), 0);
EXPECT_EQ (api->dealloc (model_dmabuf), 0);
EXPECT_EQ (api->dealloc (buffer_dmabuf), 0);
}