Skip to content

Opt-in gpu #676

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 4 commits into from
Feb 24, 2025
Merged

Opt-in gpu #676

merged 4 commits into from
Feb 24, 2025

Conversation

lilkeet
Copy link
Contributor

@lilkeet lilkeet commented Feb 23, 2025

Fixes issue #675.

@mratsim
Copy link
Owner

mratsim commented Feb 24, 2025

Thank you!

@mratsim mratsim merged commit 9bff6f1 into mratsim:master Feb 24, 2025
3 of 6 checks passed
@mratsim mratsim mentioned this pull request Feb 24, 2025
@lilkeet lilkeet deleted the opt-in-gpu branch February 25, 2025 18:09
lilkeet added a commit to lilkeet/Arraymancer that referenced this pull request Mar 3, 2025
mratsim pushed a commit that referenced this pull request Mar 4, 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 #676
metagn pushed a commit to metagn/Arraymancer that referenced this pull request Mar 29, 2025
* lock opencl and cuda tensor type declarations behind `defined` blocks

* only include when using

* `Tensor` is never `CudaTensor`

* remove irrellevant comment
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