Skip to content

Fix cuda on 2.2#678

Merged
mratsim merged 6 commits intomratsim:masterfrom
lilkeet:fix-cuda-on-2.2
Mar 4, 2025
Merged

Fix cuda on 2.2#678
mratsim merged 6 commits intomratsim:masterfrom
lilkeet:fix-cuda-on-2.2

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