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

Fix bug in reshape on cuda #622

Merged
merged 1 commit into from
Mar 27, 2023
Merged

Conversation

nkoppel
Copy link
Contributor

@nkoppel nkoppel commented Mar 26, 2023

Fixes cuda implementation of reshape not allocating enough memory for broadcasted tensors and adds test to verify the new behavior. Also fixes 02-ops not compiling on cuda, although I don't know when/how this bug was introduced.

Copy link
Owner

@coreylowman coreylowman left a comment

Choose a reason for hiding this comment

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

Ty for this one - Broadcasting is such a surprising pain, would like to go through every tensor op and add broadcast tests for it

@coreylowman coreylowman merged commit cf6e11b into coreylowman:main Mar 27, 2023
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