Memory allocator wihout caching.
This always creates a new instance of Memory with allocation (Memory::alloc), and frees when itβs returned.
MemoryType β A Memory class implementation such as CpuMemory and CudaMemory.