Skip to content

Conversation

@guillermo-oyarzun
Copy link
Member

closes: please link all relevant issues

PR content/description

Check-list:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • Relevant issues are marked as resolved/closed, related issues are linked in the description
  • Check for breaking changes (including serialization changes) and add them to commit message following the conventional commit specification

@cla-bot cla-bot bot added the cla-signed label Sep 8, 2025
// This should ensure that operations with PBS count more than the number of blocks
// squared will have only half of the minimum elements to avoid out of memory errors.
let min_elements = if op_pbs_count > num_block as u64 * num_block as u64 {
(elements_per_wave * min_num_waves / 2) as u64
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should check if this is enough to have all the "all precision" bench pass, because ilog2 uses more memory than mul I think.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup, i am trying to run the benchmarks now

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it failed before that, i will try with 1/3, otherwise i will return to our original 200 default in those cases, since we know that one worked well

@guillermo-oyarzun guillermo-oyarzun force-pushed the go/fix/fix-bench-mul branch 7 times, most recently from 978011b to 88b1c79 Compare September 10, 2025 10:40
@guillermo-oyarzun guillermo-oyarzun force-pushed the go/fix/fix-bench-mul branch 6 times, most recently from 98e1447 to 7c9750b Compare September 18, 2025 11:58
@guillermo-oyarzun guillermo-oyarzun merged commit 022cb3b into main Sep 19, 2025
121 checks passed
@guillermo-oyarzun guillermo-oyarzun deleted the go/fix/fix-bench-mul branch September 19, 2025 12:44
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.

3 participants