Skip to content

Commit

Permalink
pybind11: local Shape
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Mar 14, 2024
1 parent 21edd59 commit bf7b524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cuvec/src/pybind11.cu
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

PYBIND11_MODULE(cuvec_pybind11, m) {
m.doc() = "PyBind11 external module.";
pybind11::bind_vector<std::vector<size_t>>(m, "Shape");
pybind11::bind_vector<std::vector<size_t>>(m, "Shape", pybind11::module_local(true));
pybind11::implicitly_convertible<pybind11::tuple, std::vector<size_t>>();
PYBIND11_BIND_NDCUVEC(signed char, b);
PYBIND11_BIND_NDCUVEC(unsigned char, B);
Expand Down

0 comments on commit bf7b524

Please sign in to comment.