eyalroz / cuda-api-wrappers

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

Missing memory::host::zero() variant taking a region #587

Closed eyalroz closed 8 months ago

eyalroz commented 8 months ago

Most of our memory-related functions take either a pair of pointer-and-size, or a region_t. Somehow, we've missed this second kind of for cuda::memory::host::zero().