Skip to content

Probable bug in clsparseScsrmm() with cldenseMatrix #208

@UsherWang

Description

@UsherWang

Hi there,

I was testing clsparse on Nvidia gtx 690 because I want to rewrite my cuda code into opencl for it support much more platforms. While I was testing clsparseScsrmm(), the sparse-dense matrix multiply routine, I found that no matter what major the dense matrix is set(cldenseMatrix mat; mat.major = rowMajor; or mat.major = columnMajor; ), clsparseScsrmm() always reads and writes data in row major. For more specific situation, when I set major to rowMajor I get correct result, otherwise I get wrong result. Then I tested the columnMajor and find it reads and writes data in rowMajor.

Thank you guys very much for helping me with this.

Usher

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions