We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0385c88 commit 4eb1f43Copy full SHA for 4eb1f43
1 file changed
src/python/pybind11/src/pyxrt.cpp
@@ -117,6 +117,9 @@ PYBIND11_MODULE(pyxrt, m) {
117
.def(py::init<>())
118
.def(py::init([](const xrt::device& d, const xrt::uuid& u) {
119
return new xrt::hw_context(d, u);
120
+ }))
121
+ .def(py::init([](const xrt::device& device, const xrt::elf& elf) {
122
+ return new xrt::hw_context(device, elf);
123
}));
124
125
/*
0 commit comments