eyalroz / cuda-api-wrappers

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

Replace memory::external::mapped_region_t with unique_region, or rebase the former on the latter #617

Closed eyalroz closed 3 months ago

eyalroz commented 5 months ago

The memory::external::mapped_region_t class is pretty similar to a memory::unique_region. Perhaps we can replace the former with the latter, or at least make the latter a child class of the former.

eyalroz commented 5 months ago

Completely clean replacement! Did not even have to correct a single command anywhere :-)