Giter Site home page Giter Site logo

example/ge-spmm about dgsparse-lib HOT 2 CLOSED

dgsparse avatar dgsparse commented on September 28, 2024
example/ge-spmm

from dgsparse-lib.

Comments (2)

MathsCode avatar MathsCode commented on September 28, 2024 1

We have solved the problem. Please re-download the code.
The previous code may cause the access out of bounds problem. So we add a simple bound check.

from dgsparse-lib.

hgyhungry avatar hgyhungry commented on September 28, 2024

Can you provide the exact X you tested?

I tested some non power-of-2 X, but I see no errors. For example
(base) guyue@server:~/dgSPARSE-Library/example/ge-spmm$ ./spmm.out ../data/p2p-Gnutella31.mtx 143
Finish reading matrix 62586 rows, 62586 columns, 147892 nnz.
Ignore original values and use randomly generated values.
[Cusparse] Report: spmm A(62586 x 62586) * B(62586 x 143) sparsity 0.000038 (nnz=147892)
Time 0.205066 (ms), Throughput 206.260712 (gflops).
[GE-SpMM][Alg: 0] Report: spmm A(62586 x 62586) * B(62586 x 143) sparsity 0.000038 (nnz=147892)
Time 0.124068 (ms), Throughput 340.919220 (gflops).
[GE-SpMM][Alg: 1] Report: spmm A(62586 x 62586) * B(62586 x 143) sparsity 0.000038 (nnz=147892)
Time 3.161272 (ms), Throughput 13.379775 (gflops).
[GE-SpMM][Alg: 2] Report: spmm A(62586 x 62586) * B(62586 x 143) sparsity 0.000038 (nnz=147892)
Time 1.157284 (ms), Throughput 36.548603 (gflops).
[GE-SpMM][Alg: 3] Report: spmm A(62586 x 62586) * B(62586 x 143) sparsity 0.000038 (nnz=147892)
Time 1.123594 (ms), Throughput 37.644474 (gflops).
[GE-SpMM][Alg: 8] Report: spmm A(62586 x 62586) * B(62586 x 143) sparsity 0.000038 (nnz=147892)
Time 0.115343 (ms), Throughput 366.706085 (gflops).
[GE-SpMM][Alg: 9] Report: spmm A(62586 x 62586) * B(62586 x 143) sparsity 0.000038 (nnz=147892)
Time 0.093368 (ms), Throughput 453.013519 (gflops).

from dgsparse-lib.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.