Cuda Memory Allocator Implementation Strategy