• Z
    Add a Sparse Op to_dense (#39335) · aca86470
    zhangkaihuo 提交于
    * implement AllocateFrom
    
    * dense_to_sparse_coo
    
    * optimize unit testing; support rocm
    
    * 1. delete fluid related header file
    2. update the copyright
    
    * fix hipMemcpy
    
    * update dense_to_sparsecoo
    
    * add namespace sparse
    
    * sparse_csr_to_dense
    
    * test to_sparse_coo: csr_to_coo
    
    * fix writing error
    
    * to_sparse_csr: dense_to_sparse_csr and sparse_coo_to_csr
    
    * fix check shape
    
    * fix unit test
    
    * to_dense: sparse_coo_to_dense, sparse_csr_to_dense
    
    * replace CUDADeviceContext by GPUContext
    aca86470
sparse_utils_kernel.cu 24.2 KB