Skip to content

Bug fix: assign correct argument bit ratio index - #731

Closed
exebetche wants to merge 1 commit into
gpujs:developfrom
exebetche:patch-1
Closed

exebetche wants to merge 1 commit into
gpujs:developfrom
exebetche:patch-1

Conversation

@exebetche

Copy link
Copy Markdown

In "assignArgumentBitRatio" the index for "argumentBitRatios" should be the one of the function, not the kernel. Otherwise, you get a "bit ratio not found" error if you pass arguments to a function with a different order than they're passed to the kernel.
Fix #600

In "assignArgumentBitRatio" the index for "argumentBitRatios" should be the one of the function, not the kernel. Otherwise, you get a "bit ratio not found" error if you pass arguments to a function with a different order than they're passed to the kernel.
Fix gpujs#600
@fuzzie360

Copy link
Copy Markdown
Member

Closing as superseded by #846, which fixes both the read and write sides of this bug and adds tests — but this PR found it first, three and a half years earlier. Thank you; noted in the 2.19.1 release.

@fuzzie360 fuzzie360 closed this Jul 22, 2026
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.

Uncaught Error: argument bit ratio not found

2 participants