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

Port the opportunistic synchronization from CUDA.jl #317

Closed
christiangnrd opened this issue Mar 12, 2024 · 2 comments
Closed

Port the opportunistic synchronization from CUDA.jl #317

christiangnrd opened this issue Mar 12, 2024 · 2 comments
Labels
help wanted Extra attention is needed performance Gotta go fast.

Comments

@christiangnrd
Copy link
Contributor

christiangnrd commented Mar 12, 2024

It would probably be good to port the opportunistic synchronization from CUDA.jl

Originally posted by @maleadt in #314 (comment)

EDIT by maleadt: Specifically, the tracking of which stream has recently modified a buffer, and whether to synchronize or not.

@tgymnich tgymnich added help wanted Extra attention is needed performance Gotta go fast. labels Mar 12, 2024
@maleadt
Copy link
Member

maleadt commented Mar 13, 2024

In addition, copyto! should be asynchronous when possible, e.g., when copying between MTLArrays. As suggested by @tgymnich, this could probably be done by always using the MTLBlitCommandEncoder.

@maleadt
Copy link
Member

maleadt commented Oct 2, 2024

#443

@maleadt maleadt closed this as completed Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed performance Gotta go fast.
Projects
None yet
Development

No branches or pull requests

3 participants