You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Nakul Jindal (JIRA)" <ji...@apache.org> on 2016/07/20 22:52:20 UTC

[jira] [Resolved] (SYSTEMML-774) No check from LibMatrixDataGen for thread safe SparseBlock

     [ https://issues.apache.org/jira/browse/SYSTEMML-774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nakul Jindal resolved SYSTEMML-774.
-----------------------------------
       Resolution: Fixed
         Assignee: Nakul Jindal
    Fix Version/s: SystemML 0.11

Fixed by [PR 186|https://github.com/apache/incubator-systemml/pull/186]

> No check from LibMatrixDataGen for thread safe SparseBlock
> ----------------------------------------------------------
>
>                 Key: SYSTEMML-774
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-774
>             Project: SystemML
>          Issue Type: Bug
>          Components: Runtime
>            Reporter: Nakul Jindal
>            Assignee: Nakul Jindal
>             Fix For: SystemML 0.11
>
>
> The SparseBlock implementations {{SparseBlockCSR}} and {{SparseBlockCOO}} are not thread safe.
> When {{MatrixBlock.DEFAULT_SPARSEBLOCK}} is set to {{SparseBlock.Type.CSR}}, and a {{rand()}} method from DML is used to create a sparse matrix, like so:
> {{X = rand(rows=200, cols=10000, min=0, max=4, pdf="uniform", sparsity=0.3)}}
> It crashes because {{LibMatrixDatagen.generateRandomMatrix(MatrixBlock, RandomMatrixGenerator, long[], Well1024a, long, int )}} does not check if the underlying SparseBlock implementation {{isThreadSafe}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)