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

Add resize! #279

Merged
merged 1 commit into from
Jan 31, 2024
Merged

Add resize! #279

merged 1 commit into from
Jan 31, 2024

Conversation

mtfishman
Copy link
Contributor

Fixes #277. I'm not familiar with the internals of Metal.jl or CUDA.jl so it's very possible I am doing something wrong with the memory management.

As suggested by @maleadt in #277 (comment) I tried to follow the implementation of resize! from CUDA.jl.

I also added tests based on the ones for resize! in CUDA.jl.

@maleadt
Copy link
Member

maleadt commented Jan 31, 2024

LGTM, thanks!

@maleadt maleadt merged commit d03644a into JuliaGPU:main Jan 31, 2024
1 check passed
@mtfishman mtfishman deleted the resize branch January 31, 2024 13:46
@mtfishman mtfishman mentioned this pull request Mar 30, 2024
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.

resize!, append! not defined
2 participants