cuda-api-wrappers
cuda-api-wrappers copied to clipboard
Should we replace memory::XXXXX::allocate(...) with memory::allocate(cuda::memory::type_t, ...) ?
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 ?