Skip to content

[ESI][Runtime] Expose HostMem.start() to Python - #11283

Merged
teqdruid merged 1 commit into
mainfrom
dev/teqdruid/esi/hostmem-start-python
Oct 13, 2026
Merged

teqdruid merged 1 commit into
mainfrom
dev/teqdruid/esi/hostmem-start-python

Conversation

@teqdruid

Copy link
Copy Markdown
Contributor

HostMem::start() enables the host memory service on backends that need it; cosim registers its host-memory read/write request handlers there. It wasn't bound in Python, so Python code couldn't enable host memory before the accelerator used it.

This binds HostMem.start() and calls it from the loopback cosim test. The test calls it twice, since start() is idempotent on cosim.

Needed by the cosim test for multiple outstanding host memory reads (follow-up to #11282).

`HostMem::start()` enables the host memory service on backends which need it
(cosim registers its read/write request handlers there), but it was not bound
in Python, so Python code could not enable host memory before the accelerator
used it. Bind it, and call it from the loopback cosim test.

Co-authored-by: Copilot <[email protected]>
@teqdruid
teqdruid merged commit a034e7d into main Oct 13, 2026
8 of 9 checks passed
@teqdruid
teqdruid deleted the dev/teqdruid/esi/hostmem-start-python branch October 13, 2026 20:35
@teqdruid teqdruid added the ESI label Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant