Skip to content

Migrate to pybind11#393

Draft
inducer wants to merge 1 commit intomainfrom
pybind
Draft

Migrate to pybind11#393
inducer wants to merge 1 commit intomainfrom
pybind

Conversation

@inducer
Copy link
Copy Markdown
Owner

@inducer inducer commented Nov 6, 2022

Nothing works yet, very drafty.

@jakirkham
Copy link
Copy Markdown

It might be worth looking at nanobind, which is by the same author, but is a newer version of the approach

@inducer
Copy link
Copy Markdown
Owner Author

inducer commented Nov 21, 2022

I'm aware of it, having evaluated it for pyopencl (inducer/pyopencl#546). Migrating to pybind is a good stepping stone at any rate. For now, I appreciate that pybind is a more mature and more forgiving tool. And the rate demands of PyCUDA/PyOpenCL are not so great that the performance gains from nanobind materialize in real-world workloads, at least according to my measurements.

@inducer
Copy link
Copy Markdown
Owner Author

inducer commented Mar 21, 2026

@copilot Please complete the port to pybind11.

Copy link
Copy Markdown

Copilot AI commented Mar 21, 2026

@inducer I've opened a new pull request, #501, to work on those changes. Once the pull request is ready, I'll request review from you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants