Skip to content

Fix cuda on 2.2 #678

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

Merged
merged 6 commits into from
Mar 4, 2025
Merged

Fix cuda on 2.2 #678

merged 6 commits into from
Mar 4, 2025

Conversation

lilkeet
Copy link
Contributor

@lilkeet lilkeet commented Feb 23, 2025

Fixes issue #677 by updating cuda memory management to standard inserted =destroy calls.

@mratsim mratsim closed this Feb 24, 2025
@mratsim mratsim reopened this Feb 24, 2025
@mratsim
Copy link
Owner

mratsim commented Feb 24, 2025

Reopening on top of #676

@mratsim
Copy link
Owner

mratsim commented Mar 4, 2025

Thank you!

@mratsim mratsim merged commit 84af537 into mratsim:master Mar 4, 2025
3 of 6 checks passed
metagn pushed a commit to metagn/Arraymancer that referenced this pull request Mar 29, 2025
* new destroy hook form for cuda tensor pointers

* new form for hook for unified memory as well

* remove bad form of error throwing on destructors. worst case we'll leak.

* nim 1.x.x compat

* move destructor hooks to match mratsim#676
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