Skip to content

Fix qb4 packw bias tail in neon#10787

Open
JakeStevens wants to merge 3 commits into
google:masterfrom
JakeStevens:fix/qb4-packw-bias-tail
Open

Fix qb4 packw bias tail in neon#10787
JakeStevens wants to merge 3 commits into
google:masterfrom
JakeStevens:fix/qb4-packw-bias-tail

Conversation

@JakeStevens

Copy link
Copy Markdown
Contributor

The kernel template allows for indexing past the end the bias, which can result in a SIGSEGV at packing.

Here we handle the tail with a a memcpy + memset with proper bounds.

Added a test for these cases as well.

Also confirmed with actual usecases on device it resolves a SIGSEGV.

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.

2 participants