Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make masking more efficient for mxm, mxv, vxm #13

Open
jim22k opened this issue Feb 24, 2023 · 0 comments
Open

Make masking more efficient for mxm, mxv, vxm #13

jim22k opened this issue Feb 24, 2023 · 0 comments

Comments

@jim22k
Copy link
Member

jim22k commented Feb 24, 2023

Currently, masking on these is done after the fact, meaning a lot of compute power could have been wasted calculating things that won't survive the mask. A better approach would be to pass the mask into the compiled code, iterate over it in linalg.generic as a third input, and apply the mask inside the loop.

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

No branches or pull requests

1 participant