• K
    Transfer memcpy d2h from fluid to phi (#45150) · 0d14e74a
    kangguangli 提交于
    * transfer memcpy_d2h from fluid to phi
    
    * refine arg check and add comment
    
    * fix cannot fallback to phi kernel
    
    * fix gpu_context host alloc when tensor size = 0
    
    * add kernel for std::vector<DenseTensor> args
    
    * fix bugs in MemcpyD2HMultiIOKernel
    
    * remove useless header file
    
    * polish format
    
    * fix typo
    
    * add testcase for cudapinned place
    
    * refine check condition in test
    
    * polish error message
    
    * polish error message
    
    * remove header in fluid  directory
    
    * merge memcpy_h2d and memcpy_d2h into one file, change register method to simplify implementation
    
    * fix code style check
    0d14e74a
tensor_utils.cc 15.3 KB