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

Rethink numerous copy functions vis-a-vis the copy parameters structure #641

Open
eyalroz opened this issue Apr 13, 2024 · 0 comments
Open
Labels

Comments

@eyalroz
Copy link
Owner

eyalroz commented Apr 13, 2024

With recent CUDA versions, we have the CUDA_MEMCPY3D_PEER struct, which is quite flexible. We also have a large host of copy functions - 40 all told - almost all of which are covered by a copy function taking this struct. And - we probably don't even cover all of its possibilities - w.r.t. inter-context copying.

We have (at least) two choices:

  • Make sure the individual copy functions also cover the inter-context case, or
  • Reduce, perhaps drastically, the number of copy functions, in favor of a copy builder

I'd appreciate some input from users of the library who have opined on design questions in the past, or have contributed code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant