Eager:: CudaAllocator (#3079)
* vm::cuda_allocator interface * Implement of CudaAllocator::Allocate * Implement of CudaAllocator::Deallocate * Add cuda allocator test scripts and fix bug of CudaAllocator::pieces_ and pass test * remove part note * fix CudaAllocator::total_memory_bytes_ strategy and Pass all test * CudaAllocator Support dynamic growth and garbage collection * add interface note * refine total_memory_bytes when garbage collection * fix bug of merge * remove log and strong boundary test * SingleThreadOnlyAllocator and ThreadSafeAllocator implement and test * SingleThreadOnlyAllcoator for CudaStreamHanldeDeviceCtx * ThreadOnlyAllcoator for CudaStreamHanldeDeviceCtx * fix spell Co-authored-by: NLi Xinqi <lixinqi2010@gmail.com> Co-authored-by: Nguo ran <360112263@qq.com>
Showing
想要评论请 注册 或 登录