2023-01-05 13:23:58 +01:00
|
|
|
#include <pybind11/pybind11.h>
|
|
|
|
|
|
|
|
#include "HDynamicCNNManyIP.h"
|
|
|
|
|
|
|
|
namespace py = pybind11;
|
|
|
|
|
|
|
|
PYBIND11_MODULE(PyHDynamicCNNManyIP, m)
|
|
|
|
{
|
|
|
|
m.doc() = "HDynamicCNNManyIP Module";
|
|
|
|
py::class_<HDynamicCNNManyIP>(m, "HDynamicCNNManyIP")
|
|
|
|
.def(py::init<>())
|
2023-01-29 00:59:05 +01:00
|
|
|
.def("gpu_occupancy_export",
|
|
|
|
&HDynamicCNNManyIP::gpu_occupancy_export)
|
|
|
|
.def("gpu_occupancy_import",
|
|
|
|
&HDynamicCNNManyIP::gpu_occupancy_import)
|
2023-01-05 13:23:58 +01:00
|
|
|
.def("update",
|
|
|
|
&HDynamicCNNManyIP::update_entrypoint);
|
|
|
|
}
|