Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix sparseMatToPdarray test failures for distributed arrays (#3804)
* move makeSparseArray to SymArrayDmap module. Use Arkouda's global controls for whether domains are distributed. Use same makeSparseArray routine in SparseSymArray and randSparseMatrix helper proc Signed-off-by: Jeremiah Corrado <jeremiah.corrado@hpe.com> * fill sparse matrices in global row-major or column-major order, instead of 1 locale at a time Signed-off-by: Jeremiah Corrado <jeremiah.corrado@hpe.com> * debugging sparseMatToPdarray Signed-off-by: Jeremiah Corrado <jeremiah.corrado@hpe.com> * fix ordering bug in flattened-scan helper procs Signed-off-by: Jeremiah Corrado <jeremiah.corrado@hpe.com> * sparseMatToPdarrayCSR behaving correctly in distributed setting Signed-off-by: Jeremiah Corrado <jeremiah.corrado@hpe.com> * fix non-dist compiler errors and re-implement sparseMatToPdarrayCSC Signed-off-by: Jeremiah Corrado <jeremiah.corrado@hpe.com> * fix indexing bug in colMajorExScan Signed-off-by: Jeremiah Corrado <jeremiah.corrado@hpe.com> * re-add a few TODO's about improving performance using lower-level accesses to CSR/CSC data structures Signed-off-by: Jeremiah Corrado <jeremiah.corrado@hpe.com> * use CSR/CSC 'startIdx' array to compute number of non-zeros in each row/column. Use 'rows/colsAndVals' iterators to avoid use of 'contains' query when populating 1D arrays Signed-off-by: Jeremiah Corrado <jeremiah.corrado@hpe.com> * add 'getLocalSubarray' queries to fix multi-locale build errors Signed-off-by: Jeremiah Corrado <jeremiah.corrado@hpe.com> --------- Signed-off-by: Jeremiah Corrado <jeremiah.corrado@hpe.com>
- Loading branch information