Skip to content

feat(hpu): HPU backend now uses a shared atomic counter#3195

Open
pgardratzama wants to merge 3 commits intomainfrom
hw-team/pg/shared_atomic_cnt
Open

feat(hpu): HPU backend now uses a shared atomic counter#3195
pgardratzama wants to merge 3 commits intomainfrom
hw-team/pg/shared_atomic_cnt

Conversation

@pgardratzama
Copy link
Contributor

to get IOp ack from AMI driver
requires AMI driver 3.2.0 currently in PR zama-ai/AVED#10
does not seem to have deep impact on bench performance because but still better than while (1) { open - read - close }

tested on simple run of hpu_bench, integer & erc20 throughput tests

@pgardratzama pgardratzama requested a review from a team as a code owner January 23, 2026 17:02
@cla-bot cla-bot bot added the cla-signed label Jan 23, 2026
@pgardratzama pgardratzama added this to the Q1 26 - v1.6.0 milestone Jan 23, 2026
@pgardratzama
Copy link
Contributor Author

verifed stability with loop of x92 hpu test u64 (no error) and ERC20 throughput bench

@pgardratzama
Copy link
Contributor Author

seems to impact reloading of FPGA: because AMI proc file is open, cannot remove ami driver correctly, need a fix

@pgardratzama pgardratzama force-pushed the hw-team/pg/shared_atomic_cnt branch from 2842230 to 9f24a9f Compare January 29, 2026 13:17
@zama-ai zama-ai deleted a comment from github-actions bot Jan 29, 2026
@pgardratzama pgardratzama force-pushed the hw-team/pg/shared_atomic_cnt branch from 9f24a9f to f5cb6c1 Compare January 29, 2026 16:46
@pgardratzama
Copy link
Contributor Author

with munmap before unloading of AMI driver, reload of FPGA works well
to be integrated in new backend by @Bapt-Roux when possible

@pgardratzama pgardratzama force-pushed the hw-team/pg/shared_atomic_cnt branch from 1b75c01 to cc65097 Compare February 4, 2026 16:26
@zama-ai zama-ai deleted a comment from github-actions bot Feb 4, 2026
@zama-ai zama-ai deleted a comment from github-actions bot Feb 4, 2026
@IceTDrinker IceTDrinker removed this from the Q1 26 - v1.6.0 milestone Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants