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

Verify behavior of KVIKIO_BOUNCE_BUFFER_SIZE #452

Closed
GregoryKimball opened this issue Aug 31, 2024 · 2 comments · Fixed by #454
Closed

Verify behavior of KVIKIO_BOUNCE_BUFFER_SIZE #452

GregoryKimball opened this issue Aug 31, 2024 · 2 comments · Fixed by #454

Comments

@GregoryKimball
Copy link

When attempting to analyze large task sizes, it appears that the size of a copy is always capped at 16 MiB.

Even with KVIKIO_BOUNCE_BUFFER_SIZE of 40 MB and KVIKIO_TASK_SIZE of 40 MB, I observe copies capped at ~16 MiB in the profile. Is there a way to enable larger task sizes?

Image

@wence-
Copy link
Contributor

wence- commented Sep 2, 2024

Does your kvikio contain 0b8525a ?

@madsbk
Copy link
Member

madsbk commented Sep 2, 2024

There was a bug with the bounce buffer, which should be fixed in #454.
For me, nsys now reports correct memcpys, which should be the lowest of KVIKIO_BOUNCE_BUFFER_SIZE and KVIKIO_TASK_SIZE.

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 a pull request may close this issue.

3 participants