cuda-api-wrappers icon indicating copy to clipboard operation
cuda-api-wrappers copied to clipboard

Should we replace memory::XXXXX::allocate(...) with memory::allocate(cuda::memory::type_t, ...) ?

Open eyalroz opened this issue 3 years ago • 0 comments

I've been toying with the idea of unifying some functions allocate(), free() and maybe make_unique(), so that instead of spreading them across sub-namespaces, we would just pass the memory type as an enum. And we already have this enum, too...

What do you think, @codecircuit ?

eyalroz avatar Nov 27 '21 21:11 eyalroz