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

Make `cuda::memory::region_t` more constexpr-friendly #602

Closed eyalroz closed 4 months ago

eyalroz commented 6 months ago

While CUDA-related memory allocation and de-allocation is certainly not compile-time, the region_t is actually quite simple and abstract, so - let's try to make it more constexpr-friendly.