systemml-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Boehm (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SYSTEMML-2130) Primitives to check the validity of sparse block representations
Date Sun, 04 Feb 2018 08:32:00 GMT

    [ https://issues.apache.org/jira/browse/SYSTEMML-2130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16351678#comment-16351678
] 

Matthias Boehm commented on SYSTEMML-2130:
------------------------------------------

[~return_01] this might be a good task to get started with the interface and internals of
our sparse block formats.

> Primitives to check the validity of sparse block representations
> ----------------------------------------------------------------
>
>                 Key: SYSTEMML-2130
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-2130
>             Project: SystemML
>          Issue Type: Task
>            Reporter: Matthias Boehm
>            Priority: Major
>
> This task aims to improve the debugging of our existing sparse block representations
(MCSR, CSR, COO). We already have internal primitives such as {{ProgramBlock.checkSparsity}}
and {{MatrixBlock.checkSparseRows}}, which are by default disabled but enabled on demand for
debugging purposes.
> In detail, it would be useful to extend the {{SparseBlock}} abstraction by a method {{checkValidity(int
rlen, int clen, boolean strict)}} in order to validate the correctness of the internal data
structures of the different sparse block implementations. For example, for CSR this would
entail checks for (1) correct meta data, (2) correct array lengths, (3) non-decreasing row
pointers, (4) sorted column indexes per row, (5) non-existing zero values, and (6) a capacity
that is no larger than nnz times resize factor.    



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message