eyalroz / cuda-api-wrappers

Thin, unified, C++-flavored wrappers for the CUDA APIs
BSD 3-Clause "New" or "Revised" License
768 stars 79 forks source link

Fixes and additions to the copy parameters wrapper structure #593

Closed eyalroz closed 6 months ago

eyalroz commented 6 months ago

The copy_parameters_t templated wrapper classes have a few issues:

  1. bytes_extent() is not implemented T_T
  2. Sometimes, people may set an endpoint and forget to set the transfer extent. Let's do it for them if it's not already set.
  3. set_source_untyped() delegates to set_endpoint somehow