Skip to content

Commit

Permalink
Merge pull request #218 from EthicalML/add_destroy_mgr_py
Browse files Browse the repository at this point in the history
Added destroy for manager
  • Loading branch information
axsaucedo authored May 8, 2021
2 parents 43594ac + ee9829a commit 11597af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ PYBIND11_MODULE(kp, m) {
py::arg("device") = 0,
py::arg("family_queue_indices") = std::vector<uint32_t>(),
py::arg("desired_extensions") = std::vector<std::string>())
.def("destroy", &kp::Manager::destroy,
DOC(kp, Manager, destroy))
.def("sequence", &kp::Manager::sequence, DOC(kp, Manager, sequence),
py::arg("queue_index") = 0, py::arg("total_timestamps") = 0)
.def("tensor", [np](kp::Manager& self,
Expand Down Expand Up @@ -241,3 +243,4 @@ PYBIND11_MODULE(kp, m) {
m.attr("__version__") = "dev";
#endif
}

0 comments on commit 11597af

Please sign in to comment.