std::allocator
(C++)
Watch the CppCon talk that Kajanan recommended to me.
Saw this at NVIDIA. Seems that it is really important. I don’t get why we need our own allocators though when you can just call cudaMalloc
, or even just use a unique_ptr.