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

CUDA.@sync for timing #165

Open
Shayan-P opened this issue Aug 16, 2023 · 0 comments
Open

CUDA.@sync for timing #165

Shayan-P opened this issue Aug 16, 2023 · 0 comments
Assignees
Labels
GPU related to new gpu support addition

Comments

@Shayan-P
Copy link
Collaborator

document that CUDA.@sync is necessary for timing.
I removed all unnecessary synchronizations for the sake of improving performance.
as a result, when using apply! on gpu, the result is computed asynchronously. (however, everything gets synced up when users copy the data to cpu to see the result).

@Shayan-P Shayan-P added the GPU related to new gpu support addition label Aug 16, 2023
@Shayan-P Shayan-P self-assigned this Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GPU related to new gpu support addition
Projects
None yet
Development

No branches or pull requests

1 participant